This class uses a counting algorithm. I think that it is more "safe" then other algorithms.
In the first implementation I have used a history based algorithm like the one described in Embed With Elliot: Debounce Your Noisy Buttons, Part II
- the implementation is in the
Debouncer.h
andDebouncer.cpp
fles. CMakeLists.txt
andKconfig.projbuild
are only foresp-idf
build.sh
is used to build and run theexample
executable, manually or by Travis CI
This should be platform and compiler agnostic but:
- If used with
esp-idf
, Espressif IoT Development Framework.
Main tools used where Espressif IoT Development Framework and ESP32 toolchain for Linux (see Standard Setup of Toolchain for Linux for the latest version).
Editing was done in Visual Studio Code.
Version control with Git.
This software and related documentation is released under the GNU GPLv3 License. See the LICENSE-GPLv3.txt
file.