|
Re: LED Lights for the Robot (what do you use??!?!)
We use 8 Shift Brite's.
While it would probably be possible to use the SPI on the cRio to control them, we used an Arduino and spare Relay Out ports with external pull downs for control. We send a 3-bit command nibble to the Arduino which sets the LED states for that state. This gives us 8 possible LED combinations controllable by the cRio with 3 digital lines, but only 1 combination when disabled (relay outputs are disabled).
__________________
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
|