We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2559d28 commit 8d8e890Copy full SHA for 8d8e890
1 file changed
examples/stm32l4_pandora/uart.py
@@ -10,10 +10,9 @@
10
11
from machine import UART
12
13
-uart = UART(1, 9600) # init with given baudrate
14
-uart.init(9600, bits=8, parity=None, stop=1) # init with given parameters
15
-uart.read(10) # read 10 characters, returns a bytes object
16
-uart.read() # read all available characters
17
-uart.readline() # read a line
18
-uart.readinto(buf) # read and store into the given buffer
19
-uart.write('abc') # write the 3 characters
+uart = UART(1, 115200) # init with given baudrate
+uart.init(115200, bits=8, parity=None, stop=1) # init with given parameters
+uart.read(10) # read 10 characters, returns a bytes object
+uart.read() # read all available characters
+uart.readline() # read a line
+uart.write('abc') # write the 3 characters
0 commit comments