File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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
20- uart = busio .UART (rx , tx , baudrate = 9600 , timeout = 10 )
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.
20+ uart = busio .UART (tx , rx , baudrate = 9600 , timeout = 10 )
2121
2222# for a computer, use the pyserial library for uart access
2323# import serial
You can’t perform that action at this time.
0 commit comments