From 93be4258f45fc056f783ee32784efc5f9464d83f Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Sat, 28 Dec 2019 20:05:20 +0100 Subject: [PATCH] initial firmware --- Blink/Blink.ino | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Blink/Blink.ino diff --git a/Blink/Blink.ino b/Blink/Blink.ino new file mode 100644 index 0000000..2f1aecd --- /dev/null +++ b/Blink/Blink.ino @@ -0,0 +1,26 @@ +const int L = 2; +const int I = 3; +const int N = 4; +const int K = 5; + +void setup() { + pinMode(L, OUTPUT); + pinMode(I, OUTPUT); + pinMode(N, OUTPUT); + pinMode(K, OUTPUT); +} + +void loop() { + digitalWrite(L, HIGH); + delay(1000); + digitalWrite(L, LOW); + digitalWrite(I, HIGH); + delay(1000); + digitalWrite(I, LOW); + digitalWrite(N, HIGH); + delay(1000); + digitalWrite(N, LOW); + digitalWrite(K, HIGH); + delay(1000); + digitalWrite(K, LOW); +}