Skip to content

2.0.0 - Long press and double click refactoring

Compare
Choose a tag to compare
@FoamyGuy FoamyGuy released this 21 Mar 14:56
· 36 commits to main since this release
4b0f67f

This release refactors the Button class to behave more similarly to the Debouncer class. This is a breaking change due to the renaming of the active_down argument which is now more clearly named value_when_pressed. Any code not using Button and the active_down argument specifically should be unaffected. Thank you @Neradoc

To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.

To use in CPython, pip3 install adafruit-circuitpython-debouncer.

Read the docs for info on how to use it.