MD_KeySwitch Library  1.4
Library for user keyswitch on digital input
MD_KeySwitch Library

Library to manage user keyswitch on digital input.

This is a library to allow the use of momentary push switches as user input devices. It implements the following features:

  • Detects press, double press, long press and auto repeat.
  • Works with either either low/high or high/low transitions.
  • Software debounce of initial keypress, configurable time period.
  • Software double press detection, configurable time period.
  • Software long press detection, configurable time period.
  • Software auto repeat detection, configurable time period.

See Also