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

◆ setup()

void setup ( )

Definition at line 53 of file ColorPalette.ino.

53 {
54 delay( 3000 ); // power-up safety delay
55 FastLED.addLeds<LED_TYPE, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS).setCorrection( TypicalLEDStrip );
56 FastLED.setBrightness( BRIGHTNESS );
57
60}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define NUM_LEDS
Definition Apa102.ino:6
#define BRIGHTNESS
Definition Blur.ino:8
#define COLOR_ORDER
TBlendType currentBlending
#define LED_TYPE
#define LED_PIN
CRGBPalette16 currentPalette
CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:58
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
Definition color.h:19
@ LINEARBLEND
Linear interpolation between palette entries, with wrap-around from end to the beginning again.
const TProgmemRGBPalette16 RainbowColors_p
HSV Rainbow.

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