File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -392,10 +392,10 @@ void init()
392392
393393/****************************** USART *****************************************/
394394
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
399399
400400/********************* TCB3 for system time tracking **************************/
401401
Original file line number Diff line number Diff line change @@ -59,8 +59,10 @@ static const uint8_t SCL = PIN_WIRE_SCL;
5959#define HWSERIAL0_DRE_VECTOR (USART1_DRE_vect)
6060#define HWSERIAL0_DRE_VECTOR_NUM (USART1_DRE_vect_num)
6161#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)
6466
6567// Uno2 Debug USART (not available on headers, only via the EDGB virtual COM port)
6668// USART3 on mega4809 (alternative pins)
You can’t perform that action at this time.
0 commit comments