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

◆ setup()

void setup ( )

Definition at line 24 of file Blink.ino.

24 {
25 Serial.begin(115200);
26 Serial.println("\n==============================================");
27 Serial.println(" BLINK.INO - Simple LED Blink Example");
28 Serial.println("==============================================\n");
29
30 // Uncomment/edit one of the following lines for your leds arrangement.
31 // ## Clockless types ##
32 FastLED.addLeds<NEOPIXEL, PIN_DATA>(leds, NUM_LEDS); // GRB ordering is assumed
33
34 Serial.println("✓ Blink setup complete - starting blink loop\n");
35 // FastLED.addLeds<SM16824E, PIN_DATA, RGB>(leds, NUM_LEDS); // RGB ordering (uses SM16824EController)
36 // FastLED.addLeds<SM16703, PIN_DATA, RGB>(leds, NUM_LEDS);
37 // FastLED.addLeds<TM1829, PIN_DATA, RGB>(leds, NUM_LEDS);
38 // FastLED.addLeds<TM1812, PIN_DATA, RGB>(leds, NUM_LEDS);
39 // FastLED.addLeds<TM1809, PIN_DATA, RGB>(leds, NUM_LEDS);
40 // FastLED.addLeds<TM1804, PIN_DATA, RGB>(leds, NUM_LEDS);
41 // FastLED.addLeds<TM1803, PIN_DATA, RGB>(leds, NUM_LEDS);
42 // FastLED.addLeds<UCS1903, PIN_DATA, RGB>(leds, NUM_LEDS);
43 // FastLED.addLeds<UCS1903B, PIN_DATA, RGB>(leds, NUM_LEDS);
44 // FastLED.addLeds<UCS1904, PIN_DATA, RGB>(leds, NUM_LEDS);
45 // FastLED.addLeds<UCS2903, PIN_DATA, RGB>(leds, NUM_LEDS);
46 // FastLED.addLeds<UCS7604, PIN_DATA, GRB>(leds, NUM_LEDS); // 8-bit RGBW chipset (all platforms)
47 // FastLED.addLeds<UCS7604HD, PIN_DATA, GRB>(leds, NUM_LEDS); // 16-bit RGBW chipset (all platforms)
48 // FastLED.addLeds<WS2812, PIN_DATA, RGB>(leds, NUM_LEDS); // GRB ordering is typical
49 // FastLED.addLeds<WS2852, PIN_DATA, RGB>(leds, NUM_LEDS); // GRB ordering is typical
50 // FastLED.addLeds<WS2812B, PIN_DATA, RGB>(leds, NUM_LEDS); // GRB ordering is typical
51 // FastLED.addLeds<WS2812BV5, PIN_DATA, RGB>(leds, NUM_LEDS); // GRB ordering is typical (newer V5 variant with tighter timing)
52 // FastLED.addLeds<WS2812BMiniV3, PIN_DATA, RGB>(leds, NUM_LEDS); // GRB ordering is typical (same timing as V5)
53 // FastLED.addLeds<GS1903, PIN_DATA, RGB>(leds, NUM_LEDS);
54 // FastLED.addLeds<SK6812, PIN_DATA, RGB>(leds, NUM_LEDS); // GRB ordering is typical
55 // FastLED.addLeds<SK6822, PIN_DATA, RGB>(leds, NUM_LEDS);
56 // FastLED.addLeds<APA106, PIN_DATA, RGB>(leds, NUM_LEDS);
57 // FastLED.addLeds<PL9823, PIN_DATA, RGB>(leds, NUM_LEDS);
58 // FastLED.addLeds<SK6822, PIN_DATA, RGB>(leds, NUM_LEDS);
59 // FastLED.addLeds<WS2811, PIN_DATA, RGB>(leds, NUM_LEDS);
60 // FastLED.addLeds<WS2813, PIN_DATA, RGB>(leds, NUM_LEDS);
61 // FastLED.addLeds<APA104, PIN_DATA, RGB>(leds, NUM_LEDS);
62 // FastLED.addLeds<WS2811_400, PIN_DATA, RGB>(leds, NUM_LEDS);
63 // FastLED.addLeds<GE8822, PIN_DATA, RGB>(leds, NUM_LEDS);
64 // FastLED.addLeds<GW6205, PIN_DATA, RGB>(leds, NUM_LEDS);
65 // FastLED.addLeds<GW6205_400, PIN_DATA, RGB>(leds, NUM_LEDS);
66 // FastLED.addLeds<LPD1886, PIN_DATA, RGB>(leds, NUM_LEDS);
67 // FastLED.addLeds<LPD1886_8BIT, PIN_DATA, RGB>(leds, NUM_LEDS);
68 // ## Clocked (SPI) types ##
69 // FastLED.addLeds<LPD6803, PIN_DATA, CLOCK_PIN, RGB>(leds, NUM_LEDS); // GRB ordering is typical
70 // FastLED.addLeds<LPD8806, PIN_DATA, CLOCK_PIN, RGB>(leds, NUM_LEDS); // GRB ordering is typical
71 // FastLED.addLeds<WS2801, PIN_DATA, CLOCK_PIN, RGB>(leds, NUM_LEDS);
72 // FastLED.addLeds<WS2803, PIN_DATA, CLOCK_PIN, RGB>(leds, NUM_LEDS);
73 // FastLED.addLeds<SM16716, PIN_DATA, CLOCK_PIN, RGB>(leds, NUM_LEDS);
74 // FastLED.addLeds<P9813, PIN_DATA, CLOCK_PIN, RGB>(leds, NUM_LEDS); // BGR ordering is typical
75 // FastLED.addLeds<DOTSTAR, PIN_DATA, CLOCK_PIN, RGB>(leds, NUM_LEDS); // BGR ordering is typical
76 // FastLED.addLeds<APA102, PIN_DATA, CLOCK_PIN, RGB>(leds, NUM_LEDS); // BGR ordering is typical
77 // FastLED.addLeds<SK9822, PIN_DATA, CLOCK_PIN, RGB>(leds, NUM_LEDS); // BGR ordering is typical
78}
#define NUM_LEDS
#define PIN_DATA
fl::CRGB leds[NUM_LEDS]
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
#define Serial
Definition serial.h:304

References FastLED, leds, NUM_LEDS, PIN_DATA, and Serial.