Octal Button Debouncer

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: Kwabena W. Agyeman, created: 2013-04-12 | updated: 2013-04-12

 

An octal button debouncer driver that runs on one cog. The code has been fully optimized with a super simple spin interface for maximum speed and is also fully commented.

Provides full support for:

  • Getting a debounced button's state.
  • Getting how long a debounced button has been in that state.
  • Getting if a debounced button was pressed.
  • Getting if a debounced button was released.

 

Original File Upload
AttachmentSize
Package icon D8C_BUTDemo.zip12.72 KB