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

◆ setup()

void setup ( )

Definition at line 46 of file Particles1d.h.

46 {
48 FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS).setScreenMap(screenMap);
49 FastLED.setBrightness(64);
50}
#define NUM_LEDS
fl::CRGB leds[NUM_LEDS]
#define DATA_PIN
Definition ClientReal.h:82
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
static ScreenMap Circle(int numLeds, float cm_between_leds=1.5f, float cm_led_diameter=0.5f, float completion=1.0f) FL_NOEXCEPT
constexpr EOrder GRB
Definition eorder.h:19
fl::ScreenMap screenMap
Definition Corkscrew.h:101

References fl::ScreenMap::Circle(), DATA_PIN, FastLED, GRB, leds, NUM_LEDS, and screenMap.

+ Here is the call graph for this function: