|
Keep in mind that in your actual final robot, the light has to turn on and off automatically. The easiest way to do this is to write a line of code that sets one relay to be always on in forward, and hook the light to that relay. The safety feature of the Master CPU that disables all outputs when the disable signal is sent from the Arena controller, or when no signal is recieved from the OI, will take care of the rest...
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...
|