From 979634d7f13e5e920e46cd3cf29c4de0c77c4abe Mon Sep 17 00:00:00 2001 From: Alexandre B Date: Tue, 16 Jul 2024 18:10:29 -0400 Subject: [PATCH] Lights tresshold --- ESP32-C3-sm_I2C/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ESP32-C3-sm_I2C/src/main.cpp b/ESP32-C3-sm_I2C/src/main.cpp index 2e3cb7e0..5ec5571a 100644 --- a/ESP32-C3-sm_I2C/src/main.cpp +++ b/ESP32-C3-sm_I2C/src/main.cpp @@ -65,6 +65,8 @@ void setup() { Serial.println("Setting up GPIOs ..."); pinMode(LED_PIN, OUTPUT); + pinMode(LIGHTS_LED, OUTPUT); + digitalWrite(LIGHTS_LED, LOW); Serial.println("GPIO setup done");