|
Now if you are a really good programmer, you could use the reset button on the operator interface to cycle through your autonomous program selection.
How?
In the initialization section outside of the main loop, you read and increment a number then write it back to eeprom. This number would be used to select the autonomous program to run. Then you could use the LEDs on the Operator Interface to indicate with program you have selected. But be careful, you may not have enough time to cycle through all of your programs in the 1 minute setup time.
Have some fun with this one. Let us know if it works
Tim Tedrow
__________________
Sr. Design Engineer
Caterpillar Inc.
Greenville, SC
KD4EGM
FRC 281 Greenvillains
Infected with the FIRST virus in 2000
Yes, Chute Door!!!
|