From 9d6ebfba95655bd3a2d57c94fd7aa41e2d9c7eeb Mon Sep 17 00:00:00 2001 From: Lukas Bachschwell Date: Thu, 3 Dec 2015 12:11:18 +0100 Subject: [PATCH] Added some comments --- lichterKette.ino | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lichterKette.ino b/lichterKette.ino index 6438b64..d8dbee2 100644 --- a/lichterKette.ino +++ b/lichterKette.ino @@ -3,10 +3,14 @@ #include #endif +//Important: Set the number of LEDs here!!! #define PIN 6 #define NUMPIXELS 22 + +//Create the object representation of our strip Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); +//Some usefull variables and buffers, currently not all in use unsigned long previousMillis = 0; unsigned long interval = 0; int mode = 0; @@ -27,14 +31,13 @@ void setup() { void loop() { - interval = 100; if(element