mirror of
https://github.com/travisgoodspeed/goodwatch
synced 2024-11-21 23:58:31 +00:00
14 lines
297 B
C
14 lines
297 B
C
/*! \file keypad.h
|
|
\brief Keypad driver.
|
|
*/
|
|
|
|
//! Scan the keypad.
|
|
unsigned int key_scan();
|
|
//! Initialize the keypad GPIO pins.
|
|
void key_init();
|
|
//! Gets the currently held button as ASCII. Don't use for typing.
|
|
char key_char();
|
|
|
|
//! Quickly checks to see if a key is pressed.
|
|
int key_pressed();
|