summaryrefslogtreecommitdiff
path: root/tests/pyb/dac.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-04 12:40:51 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-04 12:40:51 +0100
commitcda363a036f550707ed48d94e1be3ad54dda90b6 (patch)
tree1719b19ce5a3a1fa191ad1ecfe8a49082f05ad5f /tests/pyb/dac.py
parentc327c0de5d7a07cc0afa2fbad5aa33f59d90aad0 (diff)
tests, pyb: Add 'import pyb' when needed.
Diffstat (limited to 'tests/pyb/dac.py')
-rw-r--r--tests/pyb/dac.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pyb/dac.py b/tests/pyb/dac.py
index 61ab7bd6e..884ec5829 100644
--- a/tests/pyb/dac.py
+++ b/tests/pyb/dac.py
@@ -1,3 +1,5 @@
+import pyb
+
dac = pyb.DAC(1)
print(dac)
dac.noise(100)