#include "keypad.h"
u8 last_key; /* the last key registered */
-bool new_key = 0;
+bool new_key;
/* first 8 from the first row, then 3 from the second row */
/* keys are 1-9, 0, reset */
new_key = 0;
return 1;
}
+
+void keypad_init() {
+ last_key = 0;
+ new_key = 0;
+}