pitrix/src/fastled.cpp

10 lines
250 B
C++

#include "my_fastled.h"
CRGB leds[LED_COUNT];
void fastled_setup() {
FastLED.addLeds<LED_TYPE,DATA_PIN,COLOR_ORDER>(leds, LED_COUNT).setCorrection(TypicalLEDStrip);
FastLED.setBrightness(BRIGHTNESS);
FastLED.setDither(TEMPORAL_DITHERING);
};