FastLED 3.9.15
Loading...
Searching...
No Matches

◆ loop()

void loop ( )

Definition at line 26 of file WS2816.ino.

26 {
27 // Turn the LED on, then pause
28 leds[0] = CRGB::Red;
29 FastLED.show();
30 delay(500);
31 // Now turn the LED off, then pause
32 leds[0] = CRGB::Black;
33 FastLED.show();
34 delay(500);
35}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:58
@ Red
<div style='background:#FF0000;width:4em;height:4em;'></div>
Definition crgb.h:611
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>
Definition crgb.h:499

References CRGB::Black, FastLED, leds, and CRGB::Red.