parent
79d26bcca5
commit
fdde4bccef
3
test.py
3
test.py
|
@ -20,4 +20,5 @@ def get_moisture():
|
|||
return adc.readADCSingleEnded(0, gain, sps) / 1000, adc.readADCSingleEnded(1, gain, sps) / 1000, adc.readADCSingleEnded(2, gain, sps) / 1000, adc.readADCSingleEnded(3, gain, sps) / 1000
|
||||
|
||||
while True:
|
||||
print(get_moisture())
|
||||
print(get_moisture())
|
||||
time.sleep(1)
|
Loading…
Reference in New Issue