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

@ -29,8 +29,8 @@ if __name__ == "__main__":
# print("ina219 test")
# optional : change configuration to use 32 samples averaging for both bus voltage and shunt voltage
ina219.bus_adc_resolution = ADCResolution.ADCRES_12BIT_1S // 32S
ina219.shunt_adc_resolution = ADCResolution.ADCRES_12BIT_1S // 32S
ina219.bus_adc_resolution = ADCResolution.ADCRES_12BIT_1S # 32S
ina219.shunt_adc_resolution = ADCResolution.ADCRES_12BIT_1S # 32S
# optional : change voltage range to 16V
ina219.bus_voltage_range = BusVoltageRange.RANGE_16V

Loading…
Cancel
Save

Powered by TurnKey Linux.