goodwatch/firmware/keypad.h
2017-11-14 14:07:10 -05:00

12 lines
210 B
C

/*! \file keypad.h
\brief Keypad driver.
*/
//! Scan the keypad.
unsigned int key_scan();
//! Initialize the keypad GPIO pins.
void key_init();
//! Get the currently pressed button as a char.
char getchar();