summaryrefslogtreecommitdiff
path: root/ucoolib/hal/i2c/test/hub.py
diff options
context:
space:
mode:
Diffstat (limited to 'ucoolib/hal/i2c/test/hub.py')
-rw-r--r--ucoolib/hal/i2c/test/hub.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ucoolib/hal/i2c/test/hub.py b/ucoolib/hal/i2c/test/hub.py
new file mode 100644
index 0000000..c6c77f7
--- /dev/null
+++ b/ucoolib/hal/i2c/test/hub.py
@@ -0,0 +1,6 @@
+# Hub for test.
+from mex.hub import Hub
+def log (x):
+ print x
+h = Hub (min_clients = 1, log = log)
+h.wait ()