Skip to content
Marc Miller edited this page Jan 27, 2020 · 5 revisions

Welcome to the FastLED_examples wiki!


Testing wiki formatting...


Color can be specified several ways depending on what makes sense to you.

leds[i] = CRGB(255,0,0);  // using R,G,B  
leds[i] = CHSV(42,255,255);  // using H,S,V  
leds[i] = 0xE1A024;  // using Hex value  
leds[i] = CRGB::Purple;  // using web color names  

more testing, using code highlighting...

leds[i] = CRGB(255,0,0);  // using R,G,B  
leds[i] = CHSV(42,255,255);  // using H,S,V  
leds[i] = 0xE1A024;  // using Hex value  
leds[i] = CRGB::Purple;  // using web color names  

Custom names can also to defined to be used later.

CRGB CustomColor(0,128,128);

Then in your code you can do: leds[i] = CustomColor;


Link test: FastLED-HSV-Colors


image link test. button wiring example


H1 size text.

H2 size text.

H3 size text.



Temp update for the FastLED "Best of FastLED Discussions" page, since G+ will be going away.
Clone this wiki locally