FastLED
3.9.15
Loading...
Searching...
No Matches
◆
setup()
void setup
(
)
Definition at line
16
of file
BlinkParallel.ino
.
16
{
17
Serial.begin(115200);
18
//FastLED.addLeds<WS2812, 5>(leds, NUM_LEDS); // GRB ordering is assumed
19
FastLED
.addLeds<
WS2812
, 1>(
leds
,
NUM_LEDS
);
// GRB ordering is assumed
20
FastLED
.addLeds<
WS2812
, 2>(
leds
,
NUM_LEDS
);
// GRB ordering is assumed
21
FastLED
.addLeds<
WS2812
, 3>(
leds
,
NUM_LEDS
);
// GRB ordering is assumed
22
FastLED
.addLeds<
WS2812
, 4>(
leds
,
NUM_LEDS
);
// GRB ordering is assumed
23
delay(1000);
24
}
leds
CRGB leds[NUM_LEDS]
Definition
Apa102.ino:11
NUM_LEDS
#define NUM_LEDS
Definition
Apa102.ino:6
FastLED
CFastLED FastLED
Global LED strip management instance.
Definition
FastLED.cpp:58
WS2812
WS2812 controller class.
Definition
FastLED.h:193
References
FastLED
,
leds
, and
NUM_LEDS
.
examples
BlinkParallel
BlinkParallel.ino
Generated on Fri Apr 18 2025 03:39:31 for FastLED by
1.13.2