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.

17 lines
501 B

1 year ago
// USARTCUSTOM (FOR 2560)
#define USART1_TX_DDR DDRD
#define USART1_TX_PORT PORTD
#define USART1_TX_BIT 3
#define USART1_RX_DDR DDRD
#define USART1_RX_PORT PORTD
#define USART1_RX_BIT 2
#define USART1_DRE_DDR DDRD
#define USART1_DRE_PORT PORTD
#define USART1_DRE_BIT 4
// USARTCUSTOM (FOR 2560)
#define USART0_TX_DDR DDRE
#define USART0_TX_PORT PORTE
#define USART0_TX_BIT 1
#define USART0_RX_DDR DDRE
#define USART0_RX_PORT PORTE
#define USART0_RX_BIT 0