summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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())