Update voltcurrent.py

pull/55/head
alanbjohnston 6 years ago committed by GitHub
parent 5b368bc3bf
commit 6aa1723bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,7 +29,8 @@ if __name__ == "__main__":
for x in buses:
for y in addresses:
print(x,y)
# try:
# try:
if True:
# Create library object using Extended Bus I2C port
print("bus: ", buses[x], " addr: ", addresses[y])
i2c_bus = I2C(buses[x]) # 1 Device is /dev/i2c-1

Loading…
Cancel
Save

Powered by TurnKey Linux.