From a9400fba95376addb155e9fd899bca61244d2366 Mon Sep 17 00:00:00 2001 From: Clement Date: Fri, 27 Oct 2023 20:10:57 +0200 Subject: [PATCH] sync --- src/Program.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Program.cpp b/src/Program.cpp index 899475b..555aef5 100644 --- a/src/Program.cpp +++ b/src/Program.cpp @@ -68,7 +68,8 @@ void Program::loop() { startLed += this->timeClient->getMinutes()/30; int encValue = this->encoder->getValue(); Serial.println(startLed); - this->ledLib->actLed(encValue+1, startLed-1); + + this->ledLib->actLed(encValue+1, startLed); break; }case 2:{ int finalEncValue = this->encoder->getValue();