Go to the documentation of this file.
46 #include <avr/pgmspace.h>
60 #define ENTER_PORT PINE
61 #define ENTER_PUR PORTE
62 #define ENTER_DDR DDRE
63 #define ENTER_PIN PINE2
68 #define KEY_STATE_UP 0x01
69 #define KEY_STATE_DOWN 0x02
70 #define KEY_STATE_LEFT 0x04
71 #define KEY_STATE_RIGHT 0x08
72 #define KEY_STATE_ENTER 0x10
73 #define KEY_STATE_NO_KEY 0x00
74 #define KEY_STATE_DONE 0x20
86 extern key_state_t button;