mathertel / OneButton

An Arduino library for using a single button for multiple purpose input.
http://www.mathertel.de/Arduino/OneButtonLibrary.aspx
Other
954 stars 230 forks source link

OneButton stop working after ESP32 deep sleep #126

Closed stzoran1 closed 1 year ago

stzoran1 commented 1 year ago

I am using OneButton to put ESP32 into deep sleep mode after long press of a push button. I noticed that after wakening up the device, button is not reacting anymore. When I power on and of device it is working again.

stzoran1 commented 1 year ago

I think I have a solution for this behavior and I will make a merge request later today.

mathertel commented 1 year ago

I am very interested...

stzoran1 commented 1 year ago

I found the cause, but it is not in OneButton library. Sorry for false alarm.