Skip to content

selfhostedhome/micropython-debounce-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

micropython-debounce-switch

A MicroPython Class for Debouncing Switches. Read the full blog article.

Files

  • switch.py is complete source for the class
  • switch.mpy is the cross-compiled version for MicroPython v1.9.4.
  • example/main.py shows an example of the class in action.

I recommend using the cross-compiled version or cross-compiling your own version to save on memory usage. Note that the version it was cross-compiled for must match the version of MicroPython you are running.

About

MicroPython Class for Debouncing Switches

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published