Guest User

Untitled

a guest
Sep 17th, 2019
105
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "robot-config.h"
  2. vex::competition Competition;
  3.  
  4. // global variables
  5. // custom functions
  6.  
  7. void preAuton()
  8. {
  9. }
  10.  
  11. void autonomous()
  12. {
  13. }
  14.  
  15. void userControl()
  16. {
  17. }
  18.  
  19. int main() {
  20. Competition.autonomous( autonomous );
  21. Competition.drivercontrol( userControl );
  22. preAuton();
  23. while(true) {
  24. vex::task::sleep(500);
  25.  
  26. }
  27. }
RAW Paste Data