Update voltcurrent.py

pull/78/head
alanbjohnston 5 years ago committed by GitHub
parent 9189611287
commit 60c9192c07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -58,7 +58,7 @@ if __name__ == "__main__":
i2c_one = I2C(buses[0])
i2c_two = I2C(buses[1])
if (buses[0] == 0) and (addresses[0] == 0x45)):
if buses[0] == 0 and addresses[0] == 0x45:
# print("Reading INA219 in MoPower Board")
ina219_one = INA219(I2C(1), 0x4a)
else

Loading…
Cancel
Save

Powered by TurnKey Linux.