update led devices in adalight sketch (#262)

this is suitable for latest tag. see here: https://github.com/FastLED/FastLED/blob/v3.1.3/FastLED.h
This commit is contained in:
redPanther 2016-10-08 08:13:47 +02:00 committed by GitHub
parent 3156488b68
commit afed2e68e0

View File

@ -22,25 +22,40 @@ CRGB leds[NUM_LEDS];
void setup() {
// Uncomment/edit one of the following lines for your leds arrangement.
// FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);
FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
// FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<UCS1903B, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<GW6205, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<GW6205_400, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<NEOPIXEL , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<BTM1829 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<TM1812 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<TM1809 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<TM1804 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<TM1803 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<UCS1903 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<UCS1903B , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<UCS1904 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<UCS2903 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2812 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2852 , DATA_PIN, RGB>(leds, NUM_LEDS);
FastLED.addLeds<WS2812B , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<SK6812 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<SK6822 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<APA106 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<PL9823 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2811 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2813 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<APA104 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2811_40 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<GW6205 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<GW6205_40 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<LPD1886 , DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<LPD1886_8BIT, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<SM16716, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2801 , DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2803 , DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<P9813 , DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<APA102 , DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<SK9822 , DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<DOTSTAR, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// initial RGB flash
LEDS.showColor(CRGB(255, 0, 0));