Skip to content

Commit 6e361dc

Browse files
author
brentru
committed
update baud rate to default circuitpython baud rate
1 parent 5542514 commit 6e361dc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

examples/adafruit_io_mqtt/adafruit_io_simpletest_cellular.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@
2525
print("MQTT secrets are kept in secrets.py, please add them there!")
2626
raise
2727

28-
# Create a serial connection for the FONA connection using 4800 baud.
29-
# These are the defaults you should use for the FONA Shield.
30-
# For other boards set RX = GPS module TX, and TX = GPS module RX pins.
31-
uart = busio.UART(board.TX, board.RX, baudrate=4800)
28+
# Create a serial connection for the FONA connection
29+
uart = busio.UART(board.TX, board.RX)
3230
rst = digitalio.DigitalInOut(board.D4)
3331

3432
# Initialize FONA module (this may take a few seconds)

0 commit comments

Comments
 (0)