| 1 |
''' |
| 2 |
Connect OD1 to A1 |
| 3 |
''' |
| 4 |
|
| 5 |
from __future__ import print_function |
| 6 |
import eyes17.eyes |
| 7 |
p = eyes17.eyes.open() |
| 8 |
|
| 9 |
#connect OD1 to A1 |
| 10 |
p.set_state(OD1 = 1 ) # set OD1 to HIGH |
| 11 |
print (p.get_voltage('A1')) |
| 12 |
|
| 13 |
p.set_state(OD1 = 0 ) # set OD1 to HIGH |
| 14 |
print (p.get_voltage('A1')) |