From 2726ce50d08d90a82d0ac3db3cc31e998a93385d Mon Sep 17 00:00:00 2001 From: Adrian Baumgart Date: Sun, 12 Nov 2023 13:03:26 +0100 Subject: [PATCH] added inputs --- software/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/software/src/main.cpp b/software/src/main.cpp index 73382a8..6e604b5 100644 --- a/software/src/main.cpp +++ b/software/src/main.cpp @@ -50,6 +50,8 @@ void setup() { FastLED.addLeds(fr_leds, LED_FR_NUM); pinMode(RELAY_1, OUTPUT); + pinMode(IGNITION_POWER, INPUT_PULLUP); + pinMode(LIGHTING_POWER, INPUT_PULLUP); }