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}
fl::CRGB leds[NUM_LEDS]
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
void delay(u32 ms, bool run_async=true) FL_NOEXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
Definition delay.h:98
@ Red
<div style='background:#FF0000;width:4em;height:4em;'></div>
Definition crgb.h:622
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>
Definition crgb.h:510

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