Skip to content

Commit 72346a7

Browse files
authored
Fix UART TX/RX comments.
Updated comments for clarity on GPS module connections.
1 parent 9ace30c commit 72346a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/gps_simpletest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
# Create a serial connection for the GPS connection using default speed and
1515
# a slightly higher timeout (GPS modules typically update once a second).
1616
# These are the defaults you should use for the GPS FeatherWing.
17-
# For other boards set RX = GPS module TX, and TX = GPS module RX pins.
18-
rx = board.RX # Change to board.GP4 for Raspberry Pi Pico boards
19-
tx = board.TX # Change to board.GP5 for Raspberry Pi Pico boards
17+
# Connect UART rx to GPS module TX, and UART tx to GPS module RX.
18+
tx = board.TX # Use board.GP4 or other UART TX on Raspberry Pi Pico boards.
19+
rx = board.RX # Use board.GP5 or other UART RX on Raspberry Pi Pico boards.
2020
uart = busio.UART(tx, rx, baudrate=9600, timeout=10)
2121

2222
# for a computer, use the pyserial library for uart access

0 commit comments

Comments
 (0)