|
Re: Switches...
just hook them up to a digital input pin, and use and if statement (or multiple if-elses) to select the code to run - you robot can read the input pins any time when it is on, including disabled mode.
you could even wire the switch up to one of the joystick ports on the OI and use that to switch the program - disabled mode allows input from the OI.
|