From 3505ced419f837279ca51e3a3c5edca5de51c4ce Mon Sep 17 00:00:00 2001 From: Auguste FLEURY Date: Thu, 16 May 2024 10:54:35 +0200 Subject: [PATCH] :green_heart: --- script/script.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/script/script.ino b/script/script.ino index f13532c..7dd1337 100644 --- a/script/script.ino +++ b/script/script.ino @@ -150,14 +150,14 @@ void loop() { delay(1000); second++; Serial.println(second); - if (second%60 == 0) - { + if (second%60 == 0){ minute++; - if (minute%60 == 0) + if (minute%60 == 0){ hour++; - if (hour == 24) + } + if (hour == 24){ hour = 0; - + } bar(); } }