Switch Debounce

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: 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
Package icon Debounce_Example.zip12.03 KB