Cleaned up header settings

This commit is contained in:
David Madison 2017-03-19 18:48:14 -04:00
parent 090532f841
commit b591ed106a
1 changed files with 12 additions and 8 deletions

View File

@ -7,10 +7,11 @@
* Last Updated: 2017-03-19 * Last Updated: 2017-03-19
*/ */
// -- General Settings // --- General Settings
static const uint8_t Num_Leds = 80; // strip length static const uint8_t
static const uint8_t Led_Pin = 6; // Arduino data output pin Num_Leds = 80, // strip length
static const uint8_t Brightness = 255; // maximum brightness Led_Pin = 6, // Arduino data output pin
Brightness = 255; // maximum brightness
// --- FastLED Setings // --- FastLED Setings
#define LED_TYPE WS2812B // led strip type for FastLED #define LED_TYPE WS2812B // led strip type for FastLED
@ -18,11 +19,11 @@ static const uint8_t Brightness = 255; // maximum brightness
// --- Serial Settings // --- Serial Settings
static const unsigned long static const unsigned long
SerialSpeed = 115200; // serial port speed, max available SerialSpeed = 115200, // serial port speed, max available
static const unsigned long // time before LEDs are shut off, if no data SerialTimeout = 150000; // time before LEDs are shut off, if no data
SerialTimeout = 150000; // 150 seconds // (150 seconds)
// -- Optional Settings (uncomment to add) // --- Optional Settings (uncomment to add)
//#define GROUND_PIN 10 // additional grounding pin (optional) //#define GROUND_PIN 10 // additional grounding pin (optional)
//#define CALIBRATE // sets all LEDs to the color of the first //#define CALIBRATE // sets all LEDs to the color of the first
@ -66,6 +67,9 @@ void setup(){
Serial.begin(SerialSpeed); Serial.begin(SerialSpeed);
Serial.println(Num_Leds);
Serial.println(Led_Pin);
adalight(); adalight();
} }