Stap 5: Fundamentele codering
#include < Adafruit_NeoPixel.h > //including alle bibliotheken#include < Wire.h >
#include "RTClib.h"
Adafruit_NeoPixel strip_second = Adafruit_NeoPixel (4, 3, NEO_GRB + NEO_KHZ800); strip naam, aantal LEDs definiëren
digitale pin, en soort van de strip
Adafruit_NeoPixel strip_minute1st = Adafruit_NeoPixel (10, 4, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel strip_minute10th = Adafruit_NeoPixel (6, 5, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel strip_hour = Adafruit_NeoPixel (24, 6, NEO_GRB + NEO_KHZ800);
RTC_DS1307 de rtc;
Const int analogPin = A0; Optioneel voor photoresistor
lange hn_12;
void setup () {}
Serial.begin(57600);
Wire.begin();
RTC.begin();
pinMode (13, OUTPUT); Optioneel voor photoresistor
strip_second.begin();
strip_second.show();
strip_hour.begin();
strip_hour.show();
strip_minute10th.begin();
strip_minute10th.show();
strip_minute1st.begin();
strip_minute1st.show();
}
void loop {}
DateTime nu = rtc.now();
brightness_control(); lichtintensiteit helderheid functie; Optioneel
Als (now.hour() > 12) {//switching van 24-uurs notatie aan de 12-uurs notatie
hn_12 = now.hour() - 12;
}
else {}
hn_12 = now.hour();
}
lange mn = now.minute (); //defining minuut nu
Serial.Print(hn_12); gewoon om te controleren dat de RTC draait afdrukken
Serial.Print(':');
Serial.Print(Now.Minute(), DEC);
Serial.Print(':');
Serial.Print(Now.Second(), DEC);
Serial.println();
second_fades(); fade functie voor innerlijke seconden ring
Als (hn_12 == 0) {//if gevallen voor controle uur ring
hour_0();
}
Als (hn_12 == 1) {}
hour_1();
}
Als (hn_12 == 2) {}
hour_2();
}
Als (hn_12 == 3) {}
hour_3();
}
Als (hn_12 == 4) {}
hour_4();
}
Als (hn_12 == 5) {}
hour_5();
}
Als (hn_12 == 6) {}
hour_6();
}
Als (hn_12 == 7) {}
hour_7();
}
Als (hn_12 == 8) {}
hour_8();
}
Als (hn_12 == 9) {}
hour_9();
}
Als (hn_12 == 10) {}
hour_10();
}
Als (hn_12 == 11) {}
hour_11();
}
Als (mn/10 == 0) {//if verklaring voor het beheersen van de 10e cijfer van minuut ring, 0 - 5
minute10th_0();
}
Als (mn/10 == 1) {}
minute10th_0();
}
Als (mn/10 == 2) {}
minute10th_0();
}
Als (mn/10 == 3) {}
minute10th_3();
}
Als (mn/10 == 4) {}
minute10th_4();
}
Als (mn/10 == 5) {}
minute10th_5();
}
Als (mn 10% == 0) {//if-instructie voor de controlerende minuut ring 0-9
minute1st_0();
}
Als (mn 10% == 1) {}
minute1st_1();
}
Als (mn 10% == 2) {}
minute1st_2();
}
Als (mn 10% == 3) {}
minute1st_3();
}
Als (mn 10% == 4) {}
minute1st_4();
}
Als (mn 10% == 5) {}
minute1st_5();
}
Als (mn 10% == 6) {}
minute1st_6();
}
Als (mn 10% == 7) {}
minute1st_7();
}
Als (mn 10% == 8) {}
minute1st_8();
}
Als (mn 10% == 9) {}
minute1st_9();
}
}
/ * void brightness_control() {//optional voor photoresistor
digitalWrite (13, hoge);
int sensorValue = analogRead(analogPin);
Serial.println(sensorValue);
int sli = kaart (sensorValue, 0, 1020, 50, 245); kaart van omringende lichte intensitiy aan intensiteit LEDs
strip_hour.setBrightness(SLI);
strip_minute1st.setBrightness(SLI);
strip_minute10th.setBrightness(SLI);
strip_second.setBrightness(SLI);
}
*/
ongeldig second_fades() {}
lange tijd = millis();
int periode = 1000;
int verdringen = 240;
int led_val = 0;
int led_val2 = 0;
int-waarde = 128+127*cos(2*PI/period*time);
int waarde2 = 128+127*cos(2*PI/period*(displace-time));
tijd = millis();
strip_second.setPixelColor (0, 0, 0, waarde); LED nummer, R kleurwaarde, G kleur waarde, B kleurwaarde
strip_second.setPixelColor (1, 0, 0, waarde2);
strip_second.setPixelColor (2, 0, 0, waarde2);
strip_second.setPixelColor (3, 0, 0, waarde2);
strip_second.show();
}
ongeldig hour_0() {}
strip_hour.setPixelColor (0, 51, 255, 51);
strip_hour.setPixelColor (1, 51, 255, 51);
strip_hour.setPixelColor (2, 0, 0, 255);
strip_hour.setPixelColor (3, 0, 0, 255);
strip_hour.setPixelColor (4, 51, 255, 51);
strip_hour.setPixelColor (5, 51, 255, 51);
strip_hour.setPixelColor (6, 0, 0, 255);
strip_hour.setPixelColor (7, 0, 0, 255);
strip_hour.setPixelColor (8, 51, 255, 51);
strip_hour.setPixelColor (9, 51, 255, 51);
strip_hour.setPixelColor (10, 0, 0, 255);
strip_hour.setPixelColor (11, 0, 0, 255);
strip_hour.setPixelColor (12, 51, 255, 51);
strip_hour.setPixelColor (13, 51, 255, 51);
strip_hour.setPixelColor (14, 0, 0, 255);
strip_hour.setPixelColor (15, 0, 0, 255);
strip_hour.setPixelColor (16, 51, 255, 51);
strip_hour.setPixelColor (17 51, 255, 51);
strip_hour.setPixelColor (18, 0, 0, 255);
strip_hour.setPixelColor (19, 0, 0, 255);
strip_hour.setPixelColor (20 51, 255, 51);
strip_hour.setPixelColor (21 51, 255, 51);
strip_hour.setPixelColor (22, 0, 0, 255);
strip_hour.setPixelColor (23, 0, 0, 255);
strip_hour.show();
}
ongeldig hour_1() {}
strip_hour.setPixelColor (0, 0, 0, 0);
strip_hour.setPixelColor (1, 0, 0, 0);
strip_hour.setPixelColor (2, 0, 0, 255);
strip_hour.setPixelColor (3, 0, 0, 255);
strip_hour.setPixelColor (4, 0, 0, 255);
strip_hour.setPixelColor (5, 0, 0, 255);
strip_hour.setPixelColor (6, 0, 0, 255);
strip_hour.setPixelColor (7, 0, 0, 255);
strip_hour.setPixelColor (8, 0, 0, 255);
strip_hour.setPixelColor (9, 0, 0, 255);
strip_hour.setPixelColor (10, 0, 0, 255);
strip_hour.setPixelColor (11, 0, 0, 255);
strip_hour.setPixelColor (12, 0, 0, 255);
strip_hour.setPixelColor (13, 0, 0, 255);
strip_hour.setPixelColor (14, 0, 0, 255);
strip_hour.setPixelColor (15, 0, 0, 255);
strip_hour.setPixelColor (16, 0, 0, 255);
strip_hour.setPixelColor (17, 0, 0, 255);
strip_hour.setPixelColor (18, 0, 0, 255);
strip_hour.setPixelColor (19, 0, 0, 255);
strip_hour.setPixelColor (20, 0, 0, 255);
strip_hour.setPixelColor (21, 0, 0, 255);
strip_hour.setPixelColor (22, 0, 0, 255);
strip_hour.setPixelColor (23, 0, 0, 255);
strip_hour.show();
}
ongeldig hour_2() {}
strip_hour.setPixelColor (0, 0, 0, 0);
strip_hour.setPixelColor (1, 0, 0, 0);
strip_hour.setPixelColor (2, 0, 0, 255);
strip_hour.setPixelColor (3, 0, 0, 255);
strip_hour.setPixelColor (4, 0, 0, 255);
strip_hour.setPixelColor (5, 0, 0, 255);
strip_hour.setPixelColor (6, 0, 0, 255);
strip_hour.setPixelColor (7, 0, 0, 255);
strip_hour.setPixelColor (8, 0, 0, 255);
strip_hour.setPixelColor (9, 0, 0, 255);
strip_hour.setPixelColor (10, 0, 0, 255);
strip_hour.setPixelColor (11, 0, 0, 255);
strip_hour.setPixelColor (12, 0, 0, 0);
strip_hour.setPixelColor (13, 0, 0, 0);
strip_hour.setPixelColor (14, 0, 0, 255);
strip_hour.setPixelColor (15, 0, 0, 255);
strip_hour.setPixelColor (16, 0, 0, 255);
strip_hour.setPixelColor (17, 0, 0, 255);
strip_hour.setPixelColor (18, 0, 0, 255);
strip_hour.setPixelColor (19, 0, 0, 255);
strip_hour.setPixelColor (20, 0, 0, 255);
strip_hour.setPixelColor (21, 0, 0, 255);
strip_hour.setPixelColor (22, 0, 0, 255);
strip_hour.setPixelColor (23, 0, 0, 255);
strip_hour.show();
}
ongeldig hour_3() {}
strip_hour.setPixelColor (0, 0, 0, 255);
strip_hour.setPixelColor (1, 0, 0, 255);
strip_hour.setPixelColor (2, 0, 0, 255);
strip_hour.setPixelColor (3, 0, 0, 255);
strip_hour.setPixelColor (4, 0, 0, 0);
strip_hour.setPixelColor (5, 0, 0, 0);
strip_hour.setPixelColor (6, 0, 0, 255);
strip_hour.setPixelColor (7, 0, 0, 255);
strip_hour.setPixelColor (8, 0, 0, 255);
strip_hour.setPixelColor (9, 0, 0, 255);
strip_hour.setPixelColor (10, 0, 0, 255);
strip_hour.setPixelColor (11, 0, 0, 255);
strip_hour.setPixelColor (12, 0, 0, 0);
strip_hour.setPixelColor (13, 0, 0, 0);
strip_hour.setPixelColor (14, 0, 0, 255);
strip_hour.setPixelColor (15, 0, 0, 255);
strip_hour.setPixelColor (16, 0, 0, 255);
strip_hour.setPixelColor (17, 0, 0, 255);
strip_hour.setPixelColor (18, 0, 0, 255);
strip_hour.setPixelColor (19, 0, 0, 255);
strip_hour.setPixelColor (20, 0, 0, 0);
strip_hour.setPixelColor (21, 0, 0, 0);
strip_hour.setPixelColor (22, 0, 0, 255);
strip_hour.setPixelColor (23, 0, 0, 255);
strip_hour.show();
}
ongeldig hour_4() {}
strip_hour.setPixelColor (0, 0, 0, 0);
strip_hour.setPixelColor (1, 0, 0, 0);
strip_hour.setPixelColor (2, 0, 0, 255);
strip_hour.setPixelColor (3, 0, 0, 255);
strip_hour.setPixelColor (4, 0, 0, 255);
strip_hour.setPixelColor (5, 0, 0, 255);
strip_hour.setPixelColor (6, 0, 0, 0);
strip_hour.setPixelColor (7, 0, 0, 0);
strip_hour.setPixelColor (8, 0, 0, 255);
strip_hour.setPixelColor (9, 0, 0, 255);
strip_hour.setPixelColor (10, 0, 0, 255);
strip_hour.setPixelColor (11, 0, 0, 255);
strip_hour.setPixelColor (12, 0, 0, 0);
strip_hour.setPixelColor (13, 0, 0, 0);
strip_hour.setPixelColor (14, 0, 0, 255);
strip_hour.setPixelColor (15, 0, 0, 255);
strip_hour.setPixelColor (16, 0, 0, 255);
strip_hour.setPixelColor (17, 0, 0, 255);
strip_hour.setPixelColor (18, 0, 0, 0);
strip_hour.setPixelColor (19, 0, 0, 0);
strip_hour.setPixelColor (20, 0, 0, 255);
strip_hour.setPixelColor (21, 0, 0, 255);
strip_hour.setPixelColor (22, 0, 0, 255);
strip_hour.setPixelColor (23, 0, 0, 255);
strip_hour.show();
}
ongeldig hour_5() {}
strip_hour.setPixelColor (0, 0, 0, 255);
strip_hour.setPixelColor (1, 0, 0, 255);
strip_hour.setPixelColor (2, 0, 0, 255);
strip_hour.setPixelColor (3, 0, 0, 255);
strip_hour.setPixelColor (4, 0, 0, 0);
strip_hour.setPixelColor (5, 0, 0, 0);
strip_hour.setPixelColor (6, 0, 0, 255);
strip_hour.setPixelColor (7, 0, 0, 255);
strip_hour.setPixelColor (8, 0, 0, 0);
strip_hour.setPixelColor (9, 0, 0, 0);
strip_hour.setPixelColor (10, 0, 0, 255);
strip_hour.setPixelColor (11, 0, 0, 255);
strip_hour.setPixelColor (12, 0, 0, 0);
strip_hour.setPixelColor (13, 0, 0, 0);
strip_hour.setPixelColor (14, 0, 0, 255);
strip_hour.setPixelColor (15, 0, 0, 255);
strip_hour.setPixelColor (16, 0, 0, 0);
strip_hour.setPixelColor (17, 0, 0, 0);
strip_hour.setPixelColor (18, 0, 0, 255);
strip_hour.setPixelColor (19, 0, 0, 255);
strip_hour.setPixelColor (20, 0, 0, 0);
strip_hour.setPixelColor (21, 0, 0, 0);
strip_hour.setPixelColor (22, 0, 0, 255);
strip_hour.setPixelColor (23, 0, 0, 255);
strip_hour.show();
}
ongeldig hour_6() {}
strip_hour.setPixelColor (0, 0, 0, 0);
strip_hour.setPixelColor (1, 0, 0, 0);
strip_hour.setPixelColor (2, 0, 0, 255);
strip_hour.setPixelColor (3, 0, 0, 255);
strip_hour.setPixelColor (4, 0, 0, 0);
strip_hour.setPixelColor (5, 0, 0, 0);
strip_hour.setPixelColor (6, 0, 0, 255);
strip_hour.setPixelColor (7, 0, 0, 255);
strip_hour.setPixelColor (8, 0, 0, 0);
strip_hour.setPixelColor (9, 0, 0, 0);
strip_hour.setPixelColor (10, 0, 0, 255);
strip_hour.setPixelColor (11, 0, 0, 255);
strip_hour.setPixelColor (12, 0, 0, 0);
strip_hour.setPixelColor (13, 0, 0, 0);
strip_hour.setPixelColor (14, 0, 0, 255);
strip_hour.setPixelColor (15, 0, 0, 255);
strip_hour.setPixelColor (16, 0, 0, 0);
strip_hour.setPixelColor (17, 0, 0, 0);
strip_hour.setPixelColor (18, 0, 0, 255);
strip_hour.setPixelColor (19, 0, 0, 255);
strip_hour.setPixelColor (20, 0, 0, 0);
strip_hour.setPixelColor (21, 0, 0, 0);
strip_hour.setPixelColor (22, 0, 0, 255);
strip_hour.setPixelColor (23, 0, 0, 255);
strip_hour.show();
}
ongeldig hour_7() {}
strip_hour.setPixelColor (0, 51, 255, 51);
strip_hour.setPixelColor (1, 51, 255, 51);
strip_hour.setPixelColor (2, 0, 0, 255);
strip_hour.setPixelColor (3, 0, 0, 255);
strip_hour.setPixelColor (4, 0, 0, 0);
strip_hour.setPixelColor (5, 0, 0, 0);
strip_hour.setPixelColor (6, 0, 0, 255);
strip_hour.setPixelColor (7, 0, 0, 255);
strip_hour.setPixelColor (8, 0, 0, 0);
strip_hour.setPixelColor (9, 0, 0, 0);
strip_hour.setPixelColor (10, 0, 0, 255);
strip_hour.setPixelColor (11, 0, 0, 255);
strip_hour.setPixelColor (12, 0, 0, 0);
strip_hour.setPixelColor (13, 0, 0, 0);
strip_hour.setPixelColor (14, 0, 0, 255);
strip_hour.setPixelColor (15, 0, 0, 255);
strip_hour.setPixelColor (16, 0, 0, 0);
strip_hour.setPixelColor (17, 0, 0, 0);
strip_hour.setPixelColor (18, 0, 0, 255);
strip_hour.setPixelColor (19, 0, 0, 255);
strip_hour.setPixelColor (20, 0, 0, 0);
strip_hour.setPixelColor (21, 0, 0, 0);
strip_hour.setPixelColor (22, 0, 0, 255);
strip_hour.setPixelColor (23, 0, 0, 255);
strip_hour.show();
}
ongeldig hour_8() {}
strip_hour.setPixelColor (0, 51, 255, 51);
strip_hour.setPixelColor (1, 51, 255, 51);
strip_hour.setPixelColor (2, 0, 0, 255);
strip_hour.setPixelColor (3, 0, 0, 255);
strip_hour.setPixelColor (4, 0, 0, 0);
strip_hour.setPixelColor (5, 0, 0, 0);
strip_hour.setPixelColor (6, 0, 0, 255);
strip_hour.setPixelColor (7, 0, 0, 255);
strip_hour.setPixelColor (8, 0, 0, 0);
strip_hour.setPixelColor (9, 0, 0, 0);
strip_hour.setPixelColor (10, 0, 0, 255);
strip_hour.setPixelColor (11, 0, 0, 255);
strip_hour.setPixelColor (12, 51, 255, 51);
strip_hour.setPixelColor (13, 51, 255, 51);
strip_hour.setPixelColor (14, 0, 0, 255);
strip_hour.setPixelColor (15, 0, 0, 255);
strip_hour.setPixelColor (16, 0, 0, 0);
strip_hour.setPixelColor (17, 0, 0, 0);
strip_hour.setPixelColor (18, 0, 0, 255);
strip_hour.setPixelColor (19, 0, 0, 255);
strip_hour.setPixelColor (20, 0, 0, 0);
strip_hour.setPixelColor (21, 0, 0, 0);
strip_hour.setPixelColor (22, 0, 0, 255);
strip_hour.setPixelColor (23, 0, 0, 255);
strip_hour.show();
}
ongeldig hour_9() {}
strip_hour.setPixelColor (0, 51, 255, 51);
strip_hour.setPixelColor (1, 51, 255, 51);
strip_hour.setPixelColor (2, 0, 0, 255);
strip_hour.setPixelColor (3, 0, 0, 255);
strip_hour.setPixelColor (4, 0, 0, 0);
strip_hour.setPixelColor (5, 0, 0, 0);
strip_hour.setPixelColor (6, 0, 0, 255);
strip_hour.setPixelColor (7, 0, 0, 255);
strip_hour.setPixelColor (8, 51, 255, 51);
strip_hour.setPixelColor (9, 51, 255, 51);
strip_hour.setPixelColor (10, 0, 0, 255);
strip_hour.setPixelColor (11, 0, 0, 255);
strip_hour.setPixelColor (12, 0, 0, 0);
strip_hour.setPixelColor (13, 0, 0, 0);
strip_hour.setPixelColor (14, 0, 0, 255);
strip_hour.setPixelColor (15, 0, 0, 255);
strip_hour.setPixelColor (16, 51, 255, 51);
strip_hour.setPixelColor (17 51, 255, 51);
strip_hour.setPixelColor (18, 0, 0, 255);
strip_hour.setPixelColor (19, 0, 0, 255);
strip_hour.setPixelColor (20, 0, 0, 0);
strip_hour.setPixelColor (21, 0, 0, 0);
strip_hour.setPixelColor (22, 0, 0, 255);
strip_hour.setPixelColor (23, 0, 0, 255);
strip_hour.show();
}
ongeldig hour_10() {}
strip_hour.setPixelColor (0, 51, 255, 51);
strip_hour.setPixelColor (1, 51, 255, 51);
strip_hour.setPixelColor (2, 0, 0, 255);
strip_hour.setPixelColor (3, 0, 0, 255);
strip_hour.setPixelColor (4, 0, 0, 0);
strip_hour.setPixelColor (5, 0, 0, 0);
strip_hour.setPixelColor (6, 0, 0, 255);
strip_hour.setPixelColor (7, 0, 0, 255);
strip_hour.setPixelColor (8, 51, 255, 51);
strip_hour.setPixelColor (9, 51, 255, 51);
strip_hour.setPixelColor (10, 0, 0, 255);
strip_hour.setPixelColor (11, 0, 0, 255);
strip_hour.setPixelColor (12, 51, 255, 51);
strip_hour.setPixelColor (13, 51, 255, 51);
strip_hour.setPixelColor (14, 0, 0, 255);
strip_hour.setPixelColor (15, 0, 0, 255);
strip_hour.setPixelColor (16, 51, 255, 51);
strip_hour.setPixelColor (17 51, 255, 51);
strip_hour.setPixelColor (18, 0, 0, 255);
strip_hour.setPixelColor (19, 0, 0, 255);
strip_hour.setPixelColor (20, 0, 0, 0);
strip_hour.setPixelColor (21, 0, 0, 0);
strip_hour.setPixelColor (22, 0, 0, 255);
strip_hour.setPixelColor (23, 0, 0, 255);
strip_hour.show();
}
ongeldig hour_11() {}
strip_hour.setPixelColor (0, 51, 255, 51);
strip_hour.setPixelColor (1, 51, 255, 51);
strip_hour.setPixelColor (2, 0, 0, 255);
strip_hour.setPixelColor (3, 0, 0, 255);
strip_hour.setPixelColor (4, 51, 255, 51);
strip_hour.setPixelColor (5, 51, 255, 51);
strip_hour.setPixelColor (6, 0, 0, 255);
strip_hour.setPixelColor (7, 0, 0, 255);
strip_hour.setPixelColor (8, 51, 255, 51);
strip_hour.setPixelColor (9, 51, 255, 51);
strip_hour.setPixelColor (10, 0, 0, 255);
strip_hour.setPixelColor (11, 0, 0, 255);
strip_hour.setPixelColor (12, 0, 0, 0);
strip_hour.setPixelColor (13, 0, 0, 0);
strip_hour.setPixelColor (14, 0, 0, 255);
strip_hour.setPixelColor (15, 0, 0, 255);
strip_hour.setPixelColor (16, 51, 255, 51);
strip_hour.setPixelColor (17 51, 255, 51);
strip_hour.setPixelColor (18, 0, 0, 255);
strip_hour.setPixelColor (19, 0, 0, 255);
strip_hour.setPixelColor (20 51, 255, 51);
strip_hour.setPixelColor (21 51, 255, 51);
strip_hour.setPixelColor (22, 0, 0, 255);
strip_hour.setPixelColor (23, 0, 0, 255);
strip_hour.show();
}
ongeldig minute10th_0() {}
strip_minute10th.setPixelColor (0, 0, 0, 255);
strip_minute10th.setPixelColor (1, 51, 255, 51);
strip_minute10th.setPixelColor (2, 0, 0, 255);
strip_minute10th.setPixelColor (3, 51, 255, 51);
strip_minute10th.setPixelColor (4, 0, 0, 255);
strip_minute10th.setPixelColor (5, 51, 255, 51);
strip_minute10th.show();
}
ongeldig minute10th_1() {}
strip_minute10th.setPixelColor (0, 0, 0, 0);
strip_minute10th.setPixelColor (1, 0, 0, 255);
strip_minute10th.setPixelColor (2, 0, 0, 255);
strip_minute10th.setPixelColor (3, 0, 0, 255);
strip_minute10th.setPixelColor (4, 0, 0, 255);
strip_minute10th.setPixelColor (5, 0, 0, 255);
strip_minute10th.show();
}
ongeldig minute10th_2() {}
strip_minute10th.setPixelColor (0, 0, 0, 0);
strip_minute10th.setPixelColor (1, 0, 0, 255);
strip_minute10th.setPixelColor (2, 0, 0, 255);
strip_minute10th.setPixelColor (3, 0, 0, 0);
strip_minute10th.setPixelColor (4, 0, 0, 255);
strip_minute10th.setPixelColor (5, 0, 0, 255);
strip_minute10th.show();
}
ongeldig minute10th_3() {}
strip_minute10th.setPixelColor (0, 0, 0, 255);
strip_minute10th.setPixelColor (1, 0, 0, 0);
strip_minute10th.setPixelColor (2, 0, 0, 255);
strip_minute10th.setPixelColor (3, 0, 0, 0);
strip_minute10th.setPixelColor (4, 0, 0, 255);
strip_minute10th.setPixelColor (5, 0, 0, 0);
strip_minute10th.show();
}
ongeldig minute10th_4() {}
strip_minute10th.setPixelColor (0, 0, 0, 255);
strip_minute10th.setPixelColor (1, 0, 0, 0);
strip_minute10th.setPixelColor (2, 0, 0, 255);
strip_minute10th.setPixelColor (3, 51, 255, 51);
strip_minute10th.setPixelColor (4, 0, 0, 255);
strip_minute10th.setPixelColor (5, 0, 0, 0);
strip_minute10th.show();
}
ongeldig minute10th_5() {}
strip_minute10th.setPixelColor (0, 0, 0, 255);
strip_minute10th.setPixelColor (1, 51, 255, 51);
strip_minute10th.setPixelColor (2, 0, 0, 255);
strip_minute10th.setPixelColor (3, 0, 0, 0);
strip_minute10th.setPixelColor (4, 0, 0, 255);
strip_minute10th.setPixelColor (5, 51, 255, 51);
strip_minute10th.show();
}
ongeldig minute1st_0() {}
strip_minute1st.setPixelColor (0, 0, 0, 255);
strip_minute1st.setPixelColor (1, 51, 255, 51);
strip_minute1st.setPixelColor (2, 0, 0, 255);
strip_minute1st.setPixelColor (3, 51, 255, 51);
strip_minute1st.setPixelColor (4, 0, 0, 255);
strip_minute1st.setPixelColor (5, 51, 255, 51);
strip_minute1st.setPixelColor (6, 0, 0, 255);
strip_minute1st.setPixelColor (7 51, 255, 51);
strip_minute1st.setPixelColor (8, 0, 0, 255);
strip_minute1st.setPixelColor (9, 51, 255, 51);
strip_minute1st.show();
}
ongeldig minute1st_1() {}
strip_minute1st.setPixelColor (0, 0, 0, 0);
strip_minute1st.setPixelColor (1, 0, 0, 255);
strip_minute1st.setPixelColor (2, 0, 0, 255);
strip_minute1st.setPixelColor (3, 0, 0, 255);
strip_minute1st.setPixelColor (4, 0, 0, 255);
strip_minute1st.setPixelColor (5, 0, 0, 255);
strip_minute1st.setPixelColor (6, 0, 0, 255);
strip_minute1st.setPixelColor (7, 0, 0, 255);
strip_minute1st.setPixelColor (8, 0, 0, 255);
strip_minute1st.setPixelColor (9, 0, 0, 0);
strip_minute1st.show();
}
ongeldig minute1st_2() {}
strip_minute1st.setPixelColor (0, 0, 0, 0);
strip_minute1st.setPixelColor (1, 0, 0, 255);
strip_minute1st.setPixelColor (2, 0, 0, 255);
strip_minute1st.setPixelColor (3, 0, 0, 255);
strip_minute1st.setPixelColor (4, 0, 0, 255);
strip_minute1st.setPixelColor (5, 0, 0, 0);
strip_minute1st.setPixelColor (6, 0, 0, 255);
strip_minute1st.setPixelColor (7, 0, 0, 255);
strip_minute1st.setPixelColor (8, 0, 0, 255);
strip_minute1st.setPixelColor (9, 0, 0, 255);
strip_minute1st.show();
}
ongeldig minute1st_3() {}
strip_minute1st.setPixelColor (0, 0, 0, 255);
strip_minute1st.setPixelColor (1, 0, 0, 255);
strip_minute1st.setPixelColor (2, 0, 0, 0);
strip_minute1st.setPixelColor (3, 0, 0, 255);
strip_minute1st.setPixelColor (4, 0, 0, 255);
strip_minute1st.setPixelColor (5, 0, 0, 0);
strip_minute1st.setPixelColor (6, 0, 0, 255);
strip_minute1st.setPixelColor (7, 0, 0, 255);
strip_minute1st.setPixelColor (8, 0, 0, 0);
strip_minute1st.setPixelColor (9, 0, 0, 255);
strip_minute1st.show();
}
ongeldig minute1st_4() {}
strip_minute1st.setPixelColor (0, 0, 0, 0);
strip_minute1st.setPixelColor (1, 0, 0, 255);
strip_minute1st.setPixelColor (2, 0, 0, 0);
strip_minute1st.setPixelColor (3, 0, 0, 0);
strip_minute1st.setPixelColor (4, 0, 0, 255);
strip_minute1st.setPixelColor (5, 0, 0, 0);
strip_minute1st.setPixelColor (6, 0, 0, 255);
strip_minute1st.setPixelColor (7, 0, 0, 0);
strip_minute1st.setPixelColor (8, 0, 0, 0);
strip_minute1st.setPixelColor (9, 0, 0, 255);
strip_minute1st.show();
}
ongeldig minute1st_5() {}
strip_minute1st.setPixelColor (0, 0, 0, 255);
strip_minute1st.setPixelColor (1, 0, 0, 0);
strip_minute1st.setPixelColor (2, 0, 0, 255);
strip_minute1st.setPixelColor (3, 0, 0, 0);
strip_minute1st.setPixelColor (4, 0, 0, 255);
strip_minute1st.setPixelColor (5, 0, 0, 0);
strip_minute1st.setPixelColor (6, 0, 0, 255);
strip_minute1st.setPixelColor (7, 0, 0, 0);
strip_minute1st.setPixelColor (8, 0, 0, 255);
strip_minute1st.setPixelColor (9, 0, 0, 0);
strip_minute1st.show();
}
ongeldig minute1st_6() {}
strip_minute1st.setPixelColor (0, 0, 0, 255);
strip_minute1st.setPixelColor (1, 0, 0, 0);
strip_minute1st.setPixelColor (2, 0, 0, 255);
strip_minute1st.setPixelColor (3, 0, 0, 0);
strip_minute1st.setPixelColor (4, 0, 0, 255);
strip_minute1st.setPixelColor (5, 51, 255, 51);
strip_minute1st.setPixelColor (6, 0, 0, 255);
strip_minute1st.setPixelColor (7, 0, 0, 0);
strip_minute1st.setPixelColor (8, 0, 0, 255);
strip_minute1st.setPixelColor (9, 0, 0, 0);
strip_minute1st.show();
}
ongeldig minute1st_7() {}
strip_minute1st.setPixelColor (0, 0, 0, 255);
strip_minute1st.setPixelColor (1, 0, 0, 0);
strip_minute1st.setPixelColor (2, 0, 0, 255);
strip_minute1st.setPixelColor (3, 51, 255, 51);
strip_minute1st.setPixelColor (4, 0, 0, 255);
strip_minute1st.setPixelColor (5, 0, 0, 0);
strip_minute1st.setPixelColor (6, 0, 0, 255);
strip_minute1st.setPixelColor (7 51, 255, 51);
strip_minute1st.setPixelColor (8, 0, 0, 255);
strip_minute1st.setPixelColor (9, 0, 0, 0);
strip_minute1st.show();
}
ongeldig minute1st_8() {}
strip_minute1st.setPixelColor (0, 0, 0, 255);
strip_minute1st.setPixelColor (1, 0, 0, 0);
strip_minute1st.setPixelColor (2, 0, 0, 255);
strip_minute1st.setPixelColor (3, 51, 255, 51);
strip_minute1st.setPixelColor (4, 0, 0, 255);
strip_minute1st.setPixelColor (5, 51, 255, 51);
strip_minute1st.setPixelColor (6, 0, 0, 255);
strip_minute1st.setPixelColor (7 51, 255, 51);
strip_minute1st.setPixelColor (8, 0, 0, 255);
strip_minute1st.setPixelColor (9, 0, 0, 0);
strip_minute1st.show();
}
ongeldig minute1st_9() {}
strip_minute1st.setPixelColor (0, 0, 0, 255);
strip_minute1st.setPixelColor (1, 51, 255, 51);
strip_minute1st.setPixelColor (2, 0, 0, 255);
strip_minute1st.setPixelColor (3, 51, 255, 51);
strip_minute1st.setPixelColor (4, 0, 0, 255);
strip_minute1st.setPixelColor (5, 0, 0, 0);
strip_minute1st.setPixelColor (6, 0, 0, 255);
strip_minute1st.setPixelColor (7 51, 255, 51);
strip_minute1st.setPixelColor (8, 0, 0, 255);
strip_minute1st.setPixelColor (9, 51, 255, 51);
strip_minute1st.show();
}