next test

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-10 18:35:12 +02:00
parent 79d26bcca5
commit fdde4bccef
1 changed files with 2 additions and 1 deletions

View File

@ -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 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: while True:
print(get_moisture()) print(get_moisture())
time.sleep(1)