mirror of
https://github.com/travisgoodspeed/goodwatch
synced 2024-11-22 16:59:57 +00:00
14 lines
296 B
C
14 lines
296 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 getchar();
|
|
|
|
//! Quickly checks to see if a key is pressed.
|
|
int key_pressed();
|