Merge pull request #45 from hotplot/patch-1
authorPhilip Howard <phil@pimoroni.com>
Tue, 10 Dec 2019 13:08:50 +0000 (13:08 +0000)
committerGitHub <noreply@github.com>
Tue, 10 Dec 2019 13:08:50 +0000 (13:08 +0000)
Remove inappropriate sleep between reads

examples/particulates.py

index 9aa9c37814a0bc3f6d34bf03f1df52d58fa3408f..c1b3c6774a25eb22fa2579820a22d5f6db53da21 100755 (executable)
@@ -23,7 +23,6 @@ try:
         try:
             readings = pms5003.read()
             logging.info(readings)
-            time.sleep(1.0)
         except ReadTimeoutError:
             pms5003 = PMS5003()
 except KeyboardInterrupt: