Skip to content

Commit

Permalink
Update Generic_Dimmable_Light_mega_ether.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
hendriksen-mark authored Sep 23, 2022
1 parent fa90694 commit 1ff37c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void lightEngine() {
if ((step_level[i] > 0.0 && current_bri[i] > bri[i]) || (step_level[i] < 0.0 && current_bri[i] < bri[i])) {
current_bri[i] = bri[i];
}
analogWrite(pins[i], (int)(current_bri[i]) + 1);
analogWrite(pins[i], (int)(current_bri[i]));
#ifdef DEBUG
Serial.print(F("current_bri["));
Serial.print(i);
Expand Down

0 comments on commit 1ff37c6

Please sign in to comment.