efthymios-ks / AVR-Keypad

Keypad library with built-in software debounce.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AVR Keypad Library


Description:
A library to control matrix keypads using AVR microcontrollers.

  • The keypad pins can be configured to any pin in any port in any sequence.
  • Supports 3x3, 3x4 and 4x4 keypads.
  • Can perform immediate readings, which are noise-susceptible, or debounced readings using a timer interrupt.
  • Functions include:
    • Read
    • Wait till key pressed
    • Wait till key released
      Functions can be used with or without debounce.
      Read the bottom of "Keypad.h" to see all functions available.
  • My custom I/O macros are required and are included.

Memory usage:

  • Program: 9/12/16 bytes
    • Keypad layout: 9/12/16 bytes (3x3, 3x4, 4x4 layout)
  • Data: 10 bytes
    • Noise filtering array: 10 bytes (default)

Compiler:
AVR-GCC

Optimization Level:
Optimize (-O1)


picture alt
picture alt
picture alt
picture alt

About

Keypad library with built-in software debounce.

License:MIT License


Languages

Language:C 100.0%