FastLED
3.9.15
Loading...
Searching...
No Matches
◆
setup()
void setup
(
)
Definition at line
22
of file
RGBW.ino
.
22
{
23
Serial.begin(115200);
24
FastLED
.addLeds<
WS2812
,
DATA_PIN
,
GRB
>(
leds
,
NUM_LEDS
).setRgbw(
RgbwDefault
());
25
FastLED
.setBrightness(128);
// Set global brightness to 50%
26
delay(2000);
// If something ever goes wrong this delay will allow upload.
27
}
leds
CRGB leds[NUM_LEDS]
Definition
Apa102.ino:11
NUM_LEDS
#define NUM_LEDS
Definition
Apa102.ino:6
DATA_PIN
#define DATA_PIN
Definition
Blink.ino:14
FastLED
CFastLED FastLED
Global LED strip management instance.
Definition
FastLED.cpp:58
WS2812
WS2812 controller class.
Definition
FastLED.h:193
GRB
@ GRB
Green, Red, Blue (0102)
Definition
eorder.h:17
RgbwDefault
Definition
rgbw.h:64
References
DATA_PIN
,
FastLED
,
GRB
,
leds
, and
NUM_LEDS
.
examples
RGBW
RGBW.ino
Generated on Fri Apr 18 2025 03:39:31 for FastLED by
1.13.2