FastLED 3.10.6
Loading...
Searching...
No Matches

◆ loop()

void loop ( )

Definition at line 42 of file MultipleStripsInOneArray.ino.

42 {
43 for(int i = 0; i < NUM_LEDS; i++) {
44 leds[i] = CRGB::Red;
45 FastLED.show();
46 leds[i] = CRGB::Black;
47 delay(100);
48 }
49}
CRGB leds[1]
#define 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_NO_EXCEPT
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:629
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>
Definition crgb.h:517

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