You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All lines of the form
if ((millis() - changedButtonOnMs) > MAX_BOUNCE_MS) {
should instead read
if ((long) (millis() - changedButtonOnMs) > MAX_BOUNCE_MS) {
to match the pattern described in https://playground.arduino.cc/Code/TimingRollover
The bug will cause strange things to happen after running constantly for a few days.
The text was updated successfully, but these errors were encountered:
All lines of the form
if ((millis() - changedButtonOnMs) > MAX_BOUNCE_MS) {
should instead read
if ((long) (millis() - changedButtonOnMs) > MAX_BOUNCE_MS) {
to match the pattern described in https://playground.arduino.cc/Code/TimingRollover
The bug will cause strange things to happen after running constantly for a few days.
The text was updated successfully, but these errors were encountered: