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