
10-04-2013, 20:28
|
 |
Registered User
no team
Team Role: Leadership
|
|
Join Date: Mar 2013
Rookie Year: 2012
Location: California
Posts: 55
|
|
|
Re: Custom LED Help
Quote:
Originally Posted by MDAWG25
Teams that use Multicolor LEDs, such as 118 (Robonauts) or 1629 (GaCo), use these types of LEDs. These LEDs use the SPI bus and allow each Pixel (LED) on the strip to be addressed by a controller, such as an Arduino, and sent a value via the SPI bus thus changing the color of that one pixel but leaving the others unchanged or to make a pattern.
Access to an SPI bus can be obtained by a standard arduino or a C-RIO, WPILib has modules for this. SPI can be tricky though, clock speed, data rate, which register to write too, etc. However, this link goes to a library available to the arduino and makes the communication between the arduino and the LEDs, simple and fast. The library also gives a couple example test code projects.
|
Great To known someone who has the real answers!
|