Merge pull request #51 from rbricheno/example-combined-add-delay
authorPhilip Howard <phil@pimoroni.com>
Thu, 5 Mar 2020 17:22:53 +0000 (17:22 +0000)
committerGitHub <noreply@github.com>
Thu, 5 Mar 2020 17:22:53 +0000 (17:22 +0000)
Sleep before first PMS5003 reading

examples/combined.py

index 43668a5f597088b35ec59fa8b3c117ae268275d4..c2fd397e2b20205004be636bbc18291295859987 100755 (executable)
@@ -38,6 +38,7 @@ bme280 = BME280()
 
 # PMS5003 particulate sensor
 pms5003 = PMS5003()
+time.sleep(1.0)
 
 # Create ST7735 LCD display class
 st7735 = ST7735.ST7735(