Switch Debounce

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: Mike Forsyth, created: 2015-03-15 | updated: 2015-03-17

Debounce single or multiple buttons or switches, either   pullup or pulldown. Two  examples are included, one in  main memory and one in a cog. The libraries are the ones written by Trent Cleghorn and use  the  algorithm  of  Jack Ganssle. The code is fully commented and easily adaptable.  These are  C libraries but C++ are available from Trent Cleghorn on GitHub.  The code was written  in SimpleIDE and the .side files are included.

Original File Upload
AttachmentSize
Debounce_Example.zip12.03 KB