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

◆ setup()

void setup ( )

Definition at line 26 of file FxCylon.ino.

26 {
28 FastLED.addLeds<WS2812,DATA_PIN,RGB>(leds,NUM_LEDS).setRgbw().setScreenMap(screenMap);
29 FastLED.setBrightness(84);
30}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define NUM_LEDS
Definition Apa102.ino:6
CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:58
fl::ScreenMap screenMap
WS2812 controller class.
Definition FastLED.h:210
static ScreenMap DefaultStrip(int numLeds, float cm_between_leds=1.5f, float cm_led_diameter=0.2f, float completion=.9f)
Definition screenmap.h:33
@ RGB
Red, Green, Blue (0012)
Definition eorder.h:15

References DATA_PIN, fl::ScreenMap::DefaultStrip(), FastLED, leds, NUM_LEDS, RGB, and screenMap.

+ Here is the call graph for this function: