This commit is contained in:
Martin Ness 2015-07-14 23:53:49 +02:00
parent d6c45420ef
commit 9a135f2e1c

View file

@ -102,7 +102,12 @@ void loop() {
}
// 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