Update voltcurrent.py

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

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

Loading…
Cancel
Save

Powered by TurnKey Linux.