From 915ac148827d28acb9d9282293fadb054c0953ae Mon Sep 17 00:00:00 2001 From: David Madison Date: Tue, 20 Dec 2016 04:38:52 -0500 Subject: [PATCH] Updated definition comments and whitespace --- Arduino/LEDstream_WS2812B/LEDstream_WS2812B.ino | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Arduino/LEDstream_WS2812B/LEDstream_WS2812B.ino b/Arduino/LEDstream_WS2812B/LEDstream_WS2812B.ino index 30e0d18..0201779 100644 --- a/Arduino/LEDstream_WS2812B/LEDstream_WS2812B.ino +++ b/Arduino/LEDstream_WS2812B/LEDstream_WS2812B.ino @@ -1,14 +1,14 @@ // Slightly modified Adalight protocol implementation that uses FastLED -// library (http://fastled.io) for driving WS2811/WS2812 led stripe +// library (http://fastled.io) for driving WS2811/WS2812 led strip // Was tested only with Prismatik software from Lightpack project #include "FastLED.h" -#define NUM_LEDS 114 // Max LED count -#define LED_PIN 6 // arduino output pin -#define GROUND_PIN 10 -#define BRIGHTNESS 255 // maximum brightness -#define SPEED 115200 // virtual serial port speed, must be the same in boblight_config +#define NUM_LEDS 80 // strip length +#define LED_PIN 6 // Arduino data output pin +#define GROUND_PIN 10 // additional grounding pin (optional) +#define BRIGHTNESS 255 // maximum brightness +#define SPEED 115200 // serial port speed, max available CRGB leds[NUM_LEDS]; uint8_t * ledsRaw = (uint8_t *)leds;