This commit is contained in:
Clement 2023-10-27 20:10:57 +02:00
parent 2096f748d0
commit a9400fba95

View File

@ -68,7 +68,8 @@ void Program::loop() {
startLed += this->timeClient->getMinutes()/30; startLed += this->timeClient->getMinutes()/30;
int encValue = this->encoder->getValue(); int encValue = this->encoder->getValue();
Serial.println(startLed); Serial.println(startLed);
this->ledLib->actLed(encValue+1, startLed-1);
this->ledLib->actLed(encValue+1, startLed);
break; break;
}case 2:{ }case 2:{
int finalEncValue = this->encoder->getValue(); int finalEncValue = this->encoder->getValue();