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.

13 lines
367 B

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