Skip to content
Snippets Groups Projects
Commit b67253e9 authored by Damien George's avatar Damien George
Browse files

tests: Update pyb/uart.py test since baudrate of 1200 is too low.

parent 4852e09c
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ uart = UART(1, 9600)
uart = UART(1, 9600, bits=8, parity=None, stop=1)
print(uart)
uart.init(1200)
uart.init(2400)
print(uart)
print(uart.any())
......
UART(1, baudrate=9600, bits=8, parity=None, stop=1, timeout=1000, timeout_char=0, read_buf_len=64)
UART(1, baudrate=1200, bits=8, parity=None, stop=1, timeout=1000, timeout_char=0, read_buf_len=64)
UART(1, baudrate=2400, bits=8, parity=None, stop=1, timeout=1000, timeout_char=0, read_buf_len=64)
False
3
4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment