Code Used

  • Code used:
    • reverse(4); \\ Reverse both motors.
      motorSpeed(4,30); \\ Set both motors speed at 30%.
      goToAbsolutePosition(307.7); \\ Go to the absolute position of 307.7 marks (12.5 feet).