Ten Ways To Set an LED’s Color
Now that the code for RC1 is out there, Dan and I are going to work on (1) bug fixes and compatibility issues as they arise, (2) documentation, and (3) example code. Version 2 of the library contains lots of new material, and it will take some time to get it all documented to our satisfaction. While we’re working on that, I thought I’d share some “Mini How-To’s” that highlight some of the new features of v2. Tonight:
How to set one LED’s color.
https://code.google.com/p/fastspi/wiki/SetLEDColor
The page shows five new ways to set an LED’s RGB color, including
led[i] = 0xFF44DD;
led[n] = CRGB::HotPink;
leds[j] = leds[k];
… as well as four ways to set an LED’s color using HSV.
Enjoy!