Quote:
Originally Posted by ABreyen
I've heard that using a co-processor like a rPi or Arduino is illegal. If this isn't possible, how do teams use LEDs on their robot?
|
Who told you that? Please tell them to read the manual.
Use of these is fully legal, as long as you don't plug them into motor controllers. For these LEDs, I would recommend using a relay with an Arduino to turn them on and off. Since they're by channel instead of individually addressable, you'll turn on a channel by turning one of the relays on.
As for getting the alliance color,
WPILib provides a DriverStation API that can tell you what alliance you're currently on. You can then pass this on through I2C, serial, or SPI to the Arduino.