testing to improve performance

This commit is contained in:
interfisch 2020-12-03 10:04:27 +01:00
parent f36c7ed634
commit 730bab89cb
1 changed files with 7 additions and 6 deletions

View File

@ -32,9 +32,9 @@
// --- General Settings
const uint16_t
Num_Leds = 112; // strip length
Num_Leds = 264; // strip length
const uint8_t
Brightness = 255; // maximum brightness
Brightness = 100; // maximum brightness
// --- FastLED Setings
#if defined(SK6812RGBW)
@ -46,17 +46,18 @@ const uint8_t
#endif
#define PIN_DATA D2 // led data output pin
#define PIN_DATA D5 // led data output pin2
// #define PIN_CLOCK 7 // led data clock pin (uncomment if you're using a 4-wire LED type)
// --- Serial Settings
const unsigned long
SerialSpeed = 115200; // serial port speed
//SerialSpeed = 115200; // serial port speed
SerialSpeed = 500000; // serial port speed
const uint16_t
SerialTimeout = 60; // time before LEDs are shut off if no data (in seconds), 0 to disable
SerialTimeout = 60*10; // time before LEDs are shut off if no data (in seconds), 0 to disable
// --- Optional Settings (uncomment to add)
#define SERIAL_FLUSH // Serial buffer cleared on LED latch
//#define SERIAL_FLUSH // Serial buffer cleared on LED latch
#define CLEAR_ON_START // LEDs are cleared on reset
// --- Debug Settings (uncomment to add)