Use correct pin numbers

This commit is contained in:
Georg Krause 2019-12-29 18:39:41 +01:00
parent 93be4258f4
commit 10405e8f76
1 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
const int L = 2;
const int I = 3;
const int L = 3;
const int I = 5;
const int N = 4;
const int K = 5;
const int K = 6;
void setup() {
pinMode(L, OUTPUT);
@ -12,15 +12,15 @@ void setup() {
void loop() {
digitalWrite(L, HIGH);
delay(1000);
delay(1000); // in ms
digitalWrite(L, LOW);
digitalWrite(I, HIGH);
delay(1000);
delay(1000); // in ms
digitalWrite(I, LOW);
digitalWrite(N, HIGH);
delay(1000);
delay(1000); // in ms
digitalWrite(N, LOW);
digitalWrite(K, HIGH);
delay(1000);
delay(1000); // in ms
digitalWrite(K, LOW);
}