From fdde4bccef26d2499c4787c65c6ee22b15157d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sun, 10 Jul 2022 18:35:12 +0200 Subject: [PATCH] next test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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