diff --git a/test.py b/test.py index e331f9a..e335201 100644 --- a/test.py +++ b/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()) \ No newline at end of file + print(get_moisture()) + time.sleep(1) \ No newline at end of file