Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/gps_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
# Create a serial connection for the GPS connection using default speed and
# a slightly higher timeout (GPS modules typically update once a second).
# These are the defaults you should use for the GPS FeatherWing.
# For other boards set RX = GPS module TX, and TX = GPS module RX pins.
rx = board.RX # Change to board.GP4 for Raspberry Pi Pico boards
tx = board.TX # Change to board.GP5 for Raspberry Pi Pico boards
uart = busio.UART(rx, tx, baudrate=9600, timeout=10)
# Connect UART rx to GPS module TX, and UART tx to GPS module RX.
tx = board.TX # Use board.GP4 or other UART TX on Raspberry Pi Pico boards.
rx = board.RX # Use board.GP5 or other UART RX on Raspberry Pi Pico boards.
uart = busio.UART(tx, rx, baudrate=9600, timeout=10)

# for a computer, use the pyserial library for uart access
# import serial
Expand Down