aboutsummaryrefslogtreecommitdiff
path: root/fw/test.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2017-12-10 13:41:24 +0100
committerjaseg <git@jaseg.net>2017-12-10 13:41:24 +0100
commitbf2c7013533c369eb6dc1480851f4d6cb5c2cd0f (patch)
tree2e2254ee9a6e201356eba3ef5ff030ab8d1d8053 /fw/test.py
parent3ec035844f0c464ab996098860e7f822273fd5ba (diff)
download7seg-bf2c7013533c369eb6dc1480851f4d6cb5c2cd0f.tar.gz
7seg-bf2c7013533c369eb6dc1480851f4d6cb5c2cd0f.tar.bz2
7seg-bf2c7013533c369eb6dc1480851f4d6cb5c2cd0f.zip
Make comm and error LEDs useful
Diffstat (limited to 'fw/test.py')
-rwxr-xr-xfw/test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fw/test.py b/fw/test.py
index 9611105..6836072 100755
--- a/fw/test.py
+++ b/fw/test.py
@@ -56,3 +56,4 @@ if __name__ == '__main__':
print('sending', i, len(frame), len(formatted), len(framed))
ser.write(framed)
time.sleep(0.02)
+ # to produce framing errors: ser.write(b'\02a\0')