Update voltage.py

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

@ -20,11 +20,11 @@ if __name__ == "__main__":
else:
bus = 1
address = 0x40
# Create library object using Extended Bus I2C port
i2c_bus = I2C(bus) # 1 Device is /dev/i2c-1
ina219 = INA219(i2c_bus, 0x45)
ina219 = INA219(i2c_bus, address)
# print("ina219 test")

Loading…
Cancel
Save

Powered by TurnKey Linux.