From bbdc02163b11e1bba2f2e7efe07712f18bcf9bcf Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 29 Dec 2020 11:39:42 -0500 Subject: [PATCH] Update voltcurrent.py --- python/voltcurrent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/voltcurrent.py b/python/voltcurrent.py index 5decd333..a0cec3c9 100644 --- a/python/voltcurrent.py +++ b/python/voltcurrent.py @@ -51,7 +51,8 @@ if __name__ == "__main__": ina219.shunt_adc_resolution = ADCResolution.ADCRES_12BIT_32S # 1S # optional : change voltage range to 16V ina219.bus_voltage_range = BusVoltageRange.RANGE_16V - + except: + except: # No try checking yet i2c_one = I2C(buses[0])