We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8404f9a commit b9d2f62Copy full SHA for b9d2f62
examples/basics/environmental_monitor.py
@@ -33,7 +33,7 @@
33
import board
34
import busio
35
36
-# import sensor libraries
+# import CircuitPython sensor libraries
37
import adafruit_sgp30
38
import adafruit_veml6070
39
import adafruit_bme280
@@ -91,12 +91,11 @@ def sample_VEML():
91
uv_raw = uv.read
92
return uv_raw
93
94
-
95
while True:
96
print('Reading sensors...')
97
# Read SGP30.
98
- eCO2_data = sgp30.co2eq
99
- tvoc_data = sgp30.tvoc
+ eCO2_data = sgp30.eCO2
+ tvoc_data = sgp30.TVOC
100
101
# Read VEML6070.
102
uv_data = sample_VEML()
0 commit comments