Sleep before first PMS5003 reading
[EVA-2020-02-2.git] / examples / particulates.py
index 9aa9c37814a0bc3f6d34bf03f1df52d58fa3408f..c1b3c6774a25eb22fa2579820a22d5f6db53da21 100755 (executable)
@@ -23,7 +23,6 @@ try:
         try:
             readings = pms5003.read()
             logging.info(readings)
         try:
             readings = pms5003.read()
             logging.info(readings)
-            time.sleep(1.0)
         except ReadTimeoutError:
             pms5003 = PMS5003()
 except KeyboardInterrupt:
         except ReadTimeoutError:
             pms5003 = PMS5003()
 except KeyboardInterrupt: