You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
300 B

  1. #pragma once
  2. /* Soft Serial defines */
  3. #define SERIAL_PIN_DDR DDRD
  4. #define SERIAL_PIN_PORT PORTD
  5. #define SERIAL_PIN_INPUT PIND
  6. #define SERIAL_PIN_MASK _BV(PD2)
  7. #define SERIAL_PIN_INTERRUPT INT2_vect
  8. #define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2
  9. #define SERIAL_MASTER_BUFFER_LENGTH MATRIX_ROWS/2