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

◆ setup()

void setup ( )

Definition at line 82 of file ColorTemperature.ino.

82 {
83 delay( 3000 ); // power-up safety delay
84 // It's important to set the color correction for your LED strip here,
85 // so that colors can be more accurately rendered through the 'temperature' profiles
86 FastLED.addLeds<CHIPSET, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS).setCorrection( TypicalSMD5050 );
87 FastLED.setBrightness( BRIGHTNESS );
88}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define NUM_LEDS
Definition Apa102.ino:6
#define BRIGHTNESS
Definition Blur.ino:8
#define COLOR_ORDER
#define LED_PIN
#define CHIPSET
CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:58
@ TypicalSMD5050
Typical values for SMD5050 LEDs.
Definition color.h:17

References BRIGHTNESS, CHIPSET, COLOR_ORDER, FastLED, LED_PIN, leds, NUM_LEDS, and TypicalSMD5050.