From f95a2e6d58041c27ec6861b5b58d83600084eb9c Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 18 Aug 2020 09:49:57 -0400 Subject: [PATCH] typo --- python/current.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/current.py b/python/current.py index 0a579fad..409ca7ba 100644 --- a/python/current.py +++ b/python/current.py @@ -28,8 +28,8 @@ if __name__ == "__main__": ina219 = INA219(i2c_bus, address) # 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