Update voltcurrent.py

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

@ -37,7 +37,7 @@ if __name__ == "__main__":
# print("ina219 test") # print("ina219 test")
if config: if config:
print("Configuring") # print("Configuring")
# optional : change configuration to use 32 samples averaging for both bus voltage and shunt voltage # 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.bus_adc_resolution = ADCResolution.ADCRES_12BIT_32S # 1S
ina219.shunt_adc_resolution = ADCResolution.ADCRES_12BIT_32S # 1S ina219.shunt_adc_resolution = ADCResolution.ADCRES_12BIT_32S # 1S

Loading…
Cancel
Save

Powered by TurnKey Linux.