mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-12-26 10:57:55 -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()
|
||||
for ii, io in enumerate(mux_io):
|
||||
io.value = mux[ii]
|
||||
time.sleep(0.001)
|
||||
voltage = adc_mux.voltage
|
||||
adc_lock.release()
|
||||
return voltage
|
||||
|
|
Loading…
Reference in New Issue
Block a user