https://github.com/selfhostedhome/micropython-debounce-switch
Python8
6 years ago
MicroPython Class for Debouncing Switches
MIT License