From ef318226535297d397b153135a89dec342a6193b Mon Sep 17 00:00:00 2001 From: Aaro Varis Date: Thu, 15 Jan 2026 10:30:20 +0200 Subject: [PATCH] joo --- init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.py b/init.py index d668697..4c47153 100644 --- a/init.py +++ b/init.py @@ -32,7 +32,7 @@ class AlarmClock: self.loop() def loop(self): - currentButtonState = self.buttonGpio.read() + currentButtonState = not self.buttonGpio.read() if currentButtonState != self.lastKnownButtonState: self.lastKnownButtonState = currentButtonState if currentButtonState: