Skip to content

Commit 3bd8c8d

Browse files
committed
Nicla Vision: use LPUART pins for Serial1
1 parent 4ff3dc7 commit 3bd8c8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

variants/NICLA_VISION/pins_arduino.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ static const uint8_t SCK = PIN_SPI_SCK;
100100
#define PIN_WIRE_SCL (12u)
101101

102102
#define SERIAL_HOWMANY 2
103-
#define SERIAL1_TX (digitalPinToPinName(PIN_SERIAL_TX))
104-
#define SERIAL1_RX (digitalPinToPinName(PIN_SERIAL_RX))
103+
#define SERIAL1_TX PA_9_ALT0
104+
#define SERIAL1_RX PA_10_ALT0
105105

106106
#define SERIAL2_TX PB_6
107107
#define SERIAL2_RX PB_7

0 commit comments

Comments
 (0)