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

◆ setup()

void setup ( )

Definition at line 55 of file ColorPalette.ino.

55 {
56 delay( 3000 ); // power-up safety delay
57 FastLED.addLeds<LED_TYPE, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS).setCorrection( TypicalLEDStrip );
58 FastLED.setBrightness( BRIGHTNESS );
59
61 currentBlending = LINEARBLEND;
62}
#define COLOR_ORDER
#define NUM_LEDS
fl::CRGB leds[NUM_LEDS]
#define LED_PIN
#define BRIGHTNESS
TBlendType currentBlending
CRGBPalette16 currentPalette
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
#define LED_TYPE
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
Definition color.h:15
const TProgmemRGBPalette16 RainbowColors_p
HSV Rainbow.
void delay(u32 ms, bool run_async=true) FL_NOEXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
Definition delay.h:98

References BRIGHTNESS, COLOR_ORDER, currentBlending, currentPalette, FastLED, LED_PIN, LED_TYPE, leds, NUM_LEDS, RainbowColors_p, and TypicalLEDStrip.