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

@ -44,9 +44,9 @@ if __name__ == "__main__":
ina219 = INA219(i2c_bus, 0x4a)
else:
ina219 = INA219(i2c_bus, y)
print("ina219 test")
print("ina219 test")
print("Configuring")
print("Configuring")
# optional : change configuration to use 32 samples averaging for both bus voltage and shunt voltage
ina219.bus_adc_resolution = ADCResolution.ADCRES_12BIT_32S # 1S
ina219.shunt_adc_resolution = ADCResolution.ADCRES_12BIT_32S # 1S

Loading…
Cancel
Save

Powered by TurnKey Linux.