@@ -76,8 +76,8 @@ static const uint8_t SCL = PIN_WIRE_SCL;
76
76
#define HWSERIAL0_DRE_VECTOR_NUM (USART3_DRE_vect_num)
77
77
#define HWSERIAL0_RXC_VECTOR (USART3_RXC_vect)
78
78
#define HWSERIAL0_MUX (PORTMUX_USART3_ALT1_gc)
79
- #define PIN_WIRE_HWSERIAL0_RX (26 )
80
- #define PIN_WIRE_HWSERIAL0_TX (27 )
79
+ #define PIN_WIRE_HWSERIAL0_RX (24 )
80
+ #define PIN_WIRE_HWSERIAL0_TX (25 )
81
81
82
82
#define HWSERIAL2_MUX (PORTMUX_USART0_NONE_gc)
83
83
#define HWSERIAL3_MUX (PORTMUX_USART2_NONE_gc)
@@ -167,6 +167,8 @@ const uint8_t PROGMEM digital_pin_to_port[] = {
167
167
PD , // 21 PD4/AI4
168
168
PA , // 22 PA2/TWI_SDA
169
169
PA , // 23 PA3/TWI_SCL
170
+ PB , // 24 PB5/USART3_Rx
171
+ PB , // 25 PB4/USART3_Tx
170
172
};
171
173
172
174
/* Use this for accessing PINnCTRL register */
@@ -195,6 +197,8 @@ const uint8_t PROGMEM digital_pin_to_bit_position[] = {
195
197
PIN4_bp , // 21 PD4/AI4
196
198
PIN2_bp , // 22 PA2/TWI_SDA
197
199
PIN3_bp , // 23 PA3/TWI_SCL
200
+ PIN5_bp , // 24 PB5/USART3_Rx
201
+ PIN4_bp , // 25 PB4/USART3_Tx
198
202
};
199
203
200
204
/* Use this for accessing PINnCTRL register */
@@ -223,6 +227,8 @@ const uint8_t PROGMEM digital_pin_to_bit_mask[] = {
223
227
PIN4_bm , // 21 PD4/AI4
224
228
PIN2_bm , // 22 PA2/TWI_SDA
225
229
PIN3_bm , // 23 PA3/TWI_SCL
230
+ PIN5_bm , // 24 PB5/USART3_Rx
231
+ PIN4_bm , // 25 PB4/USART3_Tx
226
232
};
227
233
228
234
const uint8_t PROGMEM digital_pin_to_timer [] = {
@@ -250,6 +256,8 @@ const uint8_t PROGMEM digital_pin_to_timer[] = {
250
256
NOT_ON_TIMER , // 21 PD4/AI4
251
257
NOT_ON_TIMER , // 22 PA2/TWI_SDA
252
258
NOT_ON_TIMER , // 23 PA3/TWI_SCL
259
+ NOT_ON_TIMER , // 24 PB5/USART3_Rx
260
+ NOT_ON_TIMER , // 25 PB4/USART3_Tx
253
261
};
254
262
255
263
const uint8_t PROGMEM analog_pin_to_channel [] = {
0 commit comments