Skip to content

Commit 6daec31

Browse files
committed
fix baud rate for USB Serial
1 parent cfefd94 commit 6daec31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/bno08x_simpletest_uart.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313
# uncomment and comment out the above for use with Raspberry Pi
1414
# import serial
15-
# uart = serial.Serial("/dev/serial0", 115200)
15+
# uart = serial.Serial("/dev/serial0", 3000000)
1616

17-
# for a USB Serial cable:
17+
# for USB Serial (via FTDI cable):
1818
# import serial
19-
# uart = serial.Serial("/dev/ttyUSB0", baudrate=115200)
19+
# uart = serial.Serial("/dev/ttyUSB0", baudrate=3000000)
2020

2121
bno = BNO08X_UART(uart)
2222

0 commit comments

Comments
 (0)