File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -392,10 +392,10 @@ void init()
392
392
393
393
/****************************** USART *****************************************/
394
394
395
- /* Configure PORTMUX for USARTS */
396
- PORTMUX .USARTROUTEA = (PORTMUX_USART1_ALT1_gc // MAIN
397
- | PORTMUX_USART0_ALT1_gc // SPARE
398
- | PORTMUX_USART3_ALT1_gc ); // DEBUG
395
+ // /* Configure PORTMUX for USARTS */
396
+ // PORTMUX.USARTROUTEA = (PORTMUX_USART1_ALT1_gc // MAIN
397
+ // | PORTMUX_USART0_ALT1_gc // SPARE
398
+ // | PORTMUX_USART3_ALT1_gc); // DEBUG
399
399
400
400
/********************* TCB3 for system time tracking **************************/
401
401
Original file line number Diff line number Diff line change @@ -59,8 +59,10 @@ static const uint8_t SCL = PIN_WIRE_SCL;
59
59
#define HWSERIAL0_DRE_VECTOR (USART1_DRE_vect)
60
60
#define HWSERIAL0_DRE_VECTOR_NUM (USART1_DRE_vect_num)
61
61
#define HWSERIAL0_RXC_VECTOR (USART1_RXC_vect)
62
- #define PIN_WIRE_HWSERIAL0_RX (0)
63
- #define PIN_WIRE_HWSERIAL0_TX (1)
62
+ // #define PIN_WIRE_HWSERIAL0_RX (0)
63
+ // #define PIN_WIRE_HWSERIAL0_TX (1)
64
+ #define PIN_WIRE_HWSERIAL0_RX (12)
65
+ #define PIN_WIRE_HWSERIAL0_TX (11)
64
66
65
67
// Uno2 Debug USART (not available on headers, only via the EDGB virtual COM port)
66
68
// USART3 on mega4809 (alternative pins)
You can’t perform that action at this time.
0 commit comments