summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2018-07-17 15:17:23 +0200
committerjaseg <git@jaseg.net>2018-07-17 15:45:16 +0200
commit2aa3e6fff58e27c7c0adeb6190fc49e75e8af4de (patch)
tree8ba324a7765011710c225738635ee6bf81f1c645 /doc
parentcbb6faba0a5b45983600f4bca4449ecfe3663f2d (diff)
downloadolsndot-2aa3e6fff58e27c7c0adeb6190fc49e75e8af4de.tar.gz
olsndot-2aa3e6fff58e27c7c0adeb6190fc49e75e8af4de.tar.bz2
olsndot-2aa3e6fff58e27c7c0adeb6190fc49e75e8af4de.zip
Modify lyza-test script for the olsndots
Diffstat (limited to 'doc')
-rw-r--r--doc/lyza_test.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/lyza_test.py b/doc/lyza_test.py
index 85a6b81..9e48318 100644
--- a/doc/lyza_test.py
+++ b/doc/lyza_test.py
@@ -6,9 +6,10 @@ import sqlite3
from olsndot import Olsndot, Driver
from datetime import datetime
-from pyBusPirateLite import Buspirate
-
-uut = Olsndot(0xDEBE10BB)
-d = Driver('/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0', devices=[uut])
+uut1 = Olsndot(0x23420001)
+uut2 = Olsndot(0x23420002)
+d = Driver('/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0', devices=[uut1, uut2])
+print('uut 1:', uut1.fetch_status())
+print('uut 2:', uut2.fetch_status())