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

◆ setup()

void setup ( )

Definition at line 31 of file FxCylon.ino.

31 {
33 FastLED.addLeds<WS2812,DATA_PIN,RGB>(leds,NUM_LEDS).setRgbw().setScreenMap(screenMap);
34 FastLED.setBrightness(84);
35}
CRGB leds[NUM_LEDS]
#define NUM_LEDS
#define DATA_PIN
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:74
WS2812 controller class.
Definition FastLED.h:218
static ScreenMap DefaultStrip(int numLeds, float cm_between_leds=1.5f, float cm_led_diameter=0.2f, float completion=.9f)
Definition screenmap.h:40
fl::ScreenMap screenMap
Definition Corkscrew.h:103
@ RGB
Red, Green, Blue (0012)
Definition eorder.h:14

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

+ Here is the call graph for this function: