From b9f9f55d2fa3ea0e8c80f2ec365ed25113797166 Mon Sep 17 00:00:00 2001 From: Philipp Matthias Schaefer Date: Sun, 2 Feb 2020 20:23:05 +0100 Subject: [PATCH] Separate serial setup from pin mode setup --- arduino/door_status.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/arduino/door_status.ino b/arduino/door_status.ino index 4439d29..a1910a4 100644 --- a/arduino/door_status.ino +++ b/arduino/door_status.ino @@ -10,6 +10,7 @@ void setup(){ Serial.begin(9600); + pinMode(REED_SWITCH_INPUT_PIN, INPUT); pinMode(RED_LED_OUTPUT_PIN, OUTPUT);