From baafb290ada10c7b8ba0b4b31fb4c5ec8282be88 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 13 Feb 2015 19:04:24 +0000 Subject: stmhal: Add uart.sendbreak() method, to send a break condition. --- tests/pyb/uart.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/pyb/uart.py b/tests/pyb/uart.py index 288022fea..c83d18349 100644 --- a/tests/pyb/uart.py +++ b/tests/pyb/uart.py @@ -12,3 +12,6 @@ print(uart.any()) print(uart.write('123')) print(uart.write(b'abcd')) print(uart.writechar(1)) + +# make sure this method exists +uart.sendbreak() -- cgit v1.2.3