FIX
This commit is contained in:
parent
d6c45420ef
commit
9a135f2e1c
1 changed files with 6 additions and 1 deletions
|
@ -102,7 +102,12 @@ void loop() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// aktuellen Zustand auf die Serielle Verbindung schreiben
|
// aktuellen Zustand auf die Serielle Verbindung schreiben
|
||||||
Serial.print((state == STATE_ON || state == STATE_HALF));
|
if (state == STATE_ON || state == STATE_HALF) {
|
||||||
|
Serial.print("1");
|
||||||
|
} else {
|
||||||
|
Serial.print("0");
|
||||||
|
}
|
||||||
|
delay(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Debouncer Klasse
|
// Debouncer Klasse
|
||||||
|
|
Reference in a new issue