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
Hello,
I've noticed the IF statement (if millis() > buzzerPeriod) in case REFLOW_STATE_COMPLETE hangs the OLED. Even after pressing RESET button or re uploading the code, the OLED remains in the previous state(NO ADAFRUIT LOGO appears). Is it okay if I use delay function instead of millis to turn ON the buzzer?
The text was updated successfully, but these errors were encountered:
It shouldn't, it's just a check whether the time has lapsed. I have never seen it hang until today at that stage. You can't use delay because we need to stay in that state while servicing other processes (read sensor, update OLED). Using delay means blocking those processes.
Hello,
I've noticed the IF statement (if millis() > buzzerPeriod) in case REFLOW_STATE_COMPLETE hangs the OLED. Even after pressing RESET button or re uploading the code, the OLED remains in the previous state(NO ADAFRUIT LOGO appears). Is it okay if I use delay function instead of millis to turn ON the buzzer?
The text was updated successfully, but these errors were encountered: