Skip to content

Commit 3adc1c5

Browse files
Correct Serial1 and Serial2 pinout definitions added (earlephilhower#570)
Co-authored-by: Stephan Korner <[email protected]>
1 parent 55394a7 commit 3adc1c5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

variants/adafruit_qtpy/pins_arduino.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
#define PIN_NEOPIXEL (12u)
1111
#define NEOPIXEL_POWER (11u)
1212

13-
// Serial1 not pinned out
14-
#define PIN_SERIAL1_TX (31u)
15-
#define PIN_SERIAL1_RX (31u)
13+
// Serial1
14+
#define PIN_SERIAL1_TX (28u) // marked A1 on the Board
15+
#define PIN_SERIAL1_RX (29u) // marked A0 on the Board
1616

17-
// Serial2 is the only one labelled
18-
#define PIN_SERIAL2_TX (20u)
19-
#define PIN_SERIAL2_RX (5u)
17+
// Serial2
18+
#define PIN_SERIAL2_TX (20u) // marked TX on the Board
19+
#define PIN_SERIAL2_RX (5u) // marked RX on the Board
2020

2121
// SPI
2222
#define PIN_SPI0_MISO (4u)

0 commit comments

Comments
 (0)