#define BUFFER_SIZE 4 // DEBUG LEDS #define DEBUG_LED0 0x1 #define DEBUG_LED1 0x2 #define DEBUG_LED2 0x4 #define DEBUG_LED3 0x8 #define DEBUG_LED4 0x10 #define DEBUG_MASK ~(DEBUG_LED0|DEBUG_LED1|DEBUG_LED2) #define DEBUG_PORT PORTB #define DEBUG_PORT_DDR DDRB