Separated and cleaned settings area
This commit is contained in:
parent
fb6d134526
commit
3a9b6157d0
|
@ -3,17 +3,23 @@
|
|||
|
||||
#include <FastLED.h>
|
||||
|
||||
#define NUM_LEDS 80 // strip length
|
||||
#define LED_PIN 6 // Arduino data output pin
|
||||
#define BRIGHTNESS 255 // maximum brightness
|
||||
#define SPEED 115200 // serial port speed, max available
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
//#define GROUND_PIN 10 // additional grounding pin (optional)
|
||||
// -- General Settings
|
||||
#define NUM_LEDS 80 // strip length
|
||||
#define LED_PIN 6 // Arduino data output pin
|
||||
#define BRIGHTNESS 255 // maximum brightness
|
||||
|
||||
// --- Serial Settings
|
||||
#define SPEED 115200 // serial port speed, max available
|
||||
static const unsigned long // time before LEDs are shut off, if no data
|
||||
serialTimeout = 150000; // 150 seconds
|
||||
|
||||
// -- Optional Settings (Uncomment to add)
|
||||
//#define GROUND_PIN 10 // additional grounding pin (optional)
|
||||
//#define CALIBRATE // uncomment to set calibration mode
|
||||
|
||||
// If no serial data is received for a while, the LEDs are shut off
|
||||
// automatically. Value in milliseconds.
|
||||
static const unsigned long serialTimeout = 150000; // 150 seconds
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
CRGB leds[NUM_LEDS];
|
||||
uint8_t * ledsRaw = (uint8_t *)leds;
|
||||
|
|
Loading…
Reference in New Issue