- The VexLab folks say in many place that they do not answer “coding” questions.
2a) Use jumper in the Digital/Analog I/O section of the robot microcontroller to tell it how far to go. Reasearch different ways to use switches as input devices. There is more than one way to skin that cat.
2b) Once the Microcontroller has read from the I/O equipment how far to go, then tell the software to start counting encoder tick; and set the robot on its way. Each encoder tick is 4 degrees of rotation and you can easily calcuate how far each wheel moves forward when it rotates 4 degrees.