|
Re: Legality of cold cathodes?
[quote=eagle33199;926122As a bonus, you could run both the blue and red ones through a single Spike relay, and pick which one to use (through a switch on the OI, for example) through code, letting the LED's match your bumpers for that match  [/QUOTE]
Or better, you could have the robot detect alliance based on Get Alliance. It tells you what alliance you are on and what position your controls are at (NOT what position on the field).
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|