pitrix/src/fastled.cpp

10 lines
250 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() {
FastLED.addLeds<LED_TYPE,DATA_PIN,COLOR_ORDER>(leds, LED_COUNT).setCorrection(TypicalLEDStrip);
2019-05-28 19:19:35 +00:00
FastLED.setBrightness(BRIGHTNESS);
FastLED.setDither(TEMPORAL_DITHERING);
2019-05-28 19:19:35 +00:00
};