Hi, All
How better to process the button usage with MCU (esp32 family, if more detailed) - if task is to control complex button clicking ?
Short click, long click, double-click, triple-click...
Say,
1) single short click - to wake MCU up
2) Next short clicks - for listing the work modes
3) long click - some setup
4) After some pause the single short click - deepsleeping.
Any lib for such button usage ?
How better to process the button usage with MCU (esp32 family, if more detailed) - if task is to control complex button clicking ?
Short click, long click, double-click, triple-click...
Say,
1) single short click - to wake MCU up
2) Next short clicks - for listing the work modes
3) long click - some setup
4) After some pause the single short click - deepsleeping.
Any lib for such button usage ?