Quote:
|
Originally Posted by blue_crew
Can anyone elaborate on using the joystick trigger to cycle through the user bytes on the OI to change the auton. mode? Thanks.
|
Create a external unsigned char variable that is accessisble to
both user_routines and user_routines_fast. Use this variable
to "count" the number of trigger clicks while the robot is disabled,
during the setup by the students, and display this on the user mode
display. Refer to the section in the default code that would otherwise
display the backup battery voltage. With the selected number,
0 through 255 (or some smaller range) stored in the external variable,
you can then use it to select the autonomous mode when this code
is entered.
This is not a bad idea, but we have other uses for this display...