I’m new to V5 and I’m not sure how to set up the code for competition
In robotC, you just create functions called pre_auton, autonomous and driver, but how do you do it in V5?
currently, doing a int main() works for testing, but I don’t want to goof up in the competition. I also don’t have the robot with me right now so I can’t do any testing. I’ve done some playing around but it always come up with errors and I’m pretty sure I’m doing it completely wrong,
the documentation says:
autonomous()
void vex::competition::autonomous ( void(*)(void) callback )
I have no idea what to put in it, can anyone please give an example or something like that, any help would be appreciated