From 9a135f2e1c9997776128c1a64dbc97fc83a78e11 Mon Sep 17 00:00:00 2001 From: Martin Ness Date: Tue, 14 Jul 2015 23:53:49 +0200 Subject: [PATCH] FIX --- status/status.ino | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/status/status.ino b/status/status.ino index 1e99739..90bd397 100644 --- a/status/status.ino +++ b/status/status.ino @@ -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