From f33b708297cbbb5ac48f09daaceb21610daa3588 Mon Sep 17 00:00:00 2001 From: NinjaLikesCheez Date: Fri, 13 Nov 2026 08:22:12 +0100 Subject: [PATCH] Read the space state switch from IO25 The switch is wired to the IO25 pad, but the firmware was reading IO26/D0, so flipping the switch had no effect. Co-Authored-By: Claude Opus 5.5 --- src/Config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config.h b/src/Config.h index 4b2c5b1..5be1d62 100644 --- a/src/Config.h +++ b/src/Config.h @@ -11,7 +11,7 @@ namespace config { // MARK: - Hardware constexpr uint8_t kNeopixelPin = 27; // IO27, Neopixel header (330 Ohm resistor) -constexpr uint8_t kSwitchPin = 26; // IO26/D0, switch header (INPUT_PULLUP) +constexpr uint8_t kSwitchPin = 25; // IO25, switch header (INPUT_PULLUP) constexpr uint8_t kBuiltinLedPin = 2; constexpr uint16_t kNumberOfPixels = 20; constexpr uint8_t kNeopixelBrightness = 80;