pitrix/src/fastled.cpp

10 lines
256 B
C++
Raw Normal View History

2019-05-28 19:19:35 +00:00
#include "my_fastled.h"
CRGB leds[LED_COUNT];
2019-05-21 03:52:57 +00:00
void fastled_setup() {
2019-06-07 04:24:16 +00:00
FastLED.addLeds<LED_TYPE,DATA_PIN,COLOR_ORDER>(leds, LED_COUNT).setCorrection(TypicalLEDStrip);
FastLED.setBrightness(BRIGHTNESS);
FastLED.setDither(TEMPORAL_DITHERING);
2019-05-28 19:19:35 +00:00
};