openFSB Debounced Controls is a library for Arduino and compatibles with classes for debounced controls (button, (multi)switch and rotary encoder) and a general debouncer which is used in the other controls.
- OpenFSBButton
- OpenFSBRotaryEncoder
- OpenFSBSwitch (not yet available)
- OpenFSBDebouncer (the general debouncer)
Documentation about this library can be found online at https://docs-debounced-controls-arduino.openfsb.org.
Download the zip file from the latest release overview.
Arduino IDE: Copy the directory openFSB_Debounced_Controls from the zip file to the Arduino libraries directory and start the IDE again to load the keywords and examples.
PlatformIO: Copy the directory openFSB_Debounced_Controls from the zip file to your project or include directory. This library is PlatformIO compatible.
In the Arduino IDE go to the File->Examples->openFSN Debounced Controls menu and choose one of the examples.
- 0.1: openFSBButton and openHSBDebouncer
- 0.2: Add OpenFSBRotaryEncoder
- 1.0: Add OpenFSBSwitch
- 1.1: Add double press and longpress to OpenFSBButton
For releases go to the release overview.