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}
#define COLOR_ORDER
#define NUM_LEDS
fl::CRGB leds[NUM_LEDS]
#define LED_PIN
#define BRIGHTNESS
#define CHIPSET
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
@ TypicalSMD5050
Typical values for SMD5050 LEDs.
Definition color.h:13
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, CHIPSET, COLOR_ORDER, FastLED, LED_PIN, leds, NUM_LEDS, and TypicalSMD5050.