summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/uart.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-02-13 19:04:24 +0000
committerDamien George <damien.p.george@gmail.com>2015-02-13 19:04:24 +0000
commitbaafb290ada10c7b8ba0b4b31fb4c5ec8282be88 (patch)
tree6b64ea0125190e0abd0cf0a56adb5ec4e9fa79ba /tests/pyb/uart.py
parent089c3f321e1bfe86864b6d4b2ac91074ea282c54 (diff)
downloadmicropython-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.py3
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()