4 #define PINA_MASK ((1<<PINA0)|(1<<PINA1)|(1<<PINA2)|(1<<PINA3)|(1<<PINA4))
\r
6 #define PINB_MASK ((1<<PINB4)|(1<<PINB6)|(1<<PINB7))
\r
7 #define PINE_MASK ((1<<PINE2)|(1<<PINE3))
\r
11 #define BUTTON_A 0 // NORTH
\r
12 #define BUTTON_B 1 // EAST
\r
13 #define BUTTON_C 2 // WEST
\r
14 #define BUTTON_D 3 // SOUTH
\r
15 #define BUTTON_O 4 // PUSH
\r
17 #define BUTTON_A 6 // UP
\r
18 #define BUTTON_B 7 // DOWN
\r
19 #define BUTTON_C 2 // LEFT
\r
20 #define BUTTON_D 3 // RIGHT
\r
21 #define BUTTON_O 4 // PUSH
\r
24 //Button definitions
\r
34 void PinChangeInterrupt(void);
\r
35 void Button_Init(void);
\r
37 char ButtonBouncing(void);
\r