hopefully fix calibration issues

This commit is contained in:
Brendan Haines 2020-03-02 16:30:00 -07:00
parent b44d2d681c
commit 1baebc89a6

View File

@ -42,6 +42,7 @@ def get_reflectivity(chan):
adc_lock.acquire() adc_lock.acquire()
for ii, io in enumerate(mux_io): for ii, io in enumerate(mux_io):
io.value = mux[ii] io.value = mux[ii]
time.sleep(0.001)
voltage = adc_mux.voltage voltage = adc_mux.voltage
adc_lock.release() adc_lock.release()
return voltage return voltage