Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
@ -77,3 +77,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
print(get_moisture())
print(get_water_level())