diff options
author | Damien George <damien.p.george@gmail.com> | 2015-02-13 19:04:24 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-02-13 19:04:24 +0000 |
commit | baafb290ada10c7b8ba0b4b31fb4c5ec8282be88 (patch) | |
tree | 6b64ea0125190e0abd0cf0a56adb5ec4e9fa79ba /tests/pyb/uart.py | |
parent | 089c3f321e1bfe86864b6d4b2ac91074ea282c54 (diff) | |
download | micropython-baafb290ada10c7b8ba0b4b31fb4c5ec8282be88.tar.gz micropython-baafb290ada10c7b8ba0b4b31fb4c5ec8282be88.zip |
stmhal: Add uart.sendbreak() method, to send a break condition.
Diffstat (limited to 'tests/pyb/uart.py')
-rw-r--r-- | tests/pyb/uart.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pyb/uart.py b/tests/pyb/uart.py index 288022fea4..c83d18349e 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() |