Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "robot-config.h"
- vex::competition Competition;
- // global variables
- // custom functions
- void preAuton()
- {
- }
- void autonomous()
- {
- }
- void userControl()
- {
- }
- int main() {
- Competition.autonomous( autonomous );
- Competition.drivercontrol( userControl );
- preAuton();
- while(true) {
- vex::task::sleep(500);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement