1 #define SERIAL_PIN_DDR DDRD
2 #define SERIAL_PIN_PORT PORTD
3 #define SERIAL_PIN_INPUT PIND
4 #define SERIAL_PIN_MASK _BV(PD2)
5 #define SERIAL_PIN_INTERRUPT INT2_vect
7 #define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2
8 #define SERIAL_MASTER_BUFFER_LENGTH 1