mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-11-09 21:14:47 -07:00
hopefully fix calibration issues
This commit is contained in:
parent
b44d2d681c
commit
1baebc89a6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user