Closed cw1812 closed 3 years ago
please post in forums, with detailed information
The forum post for this is Adafruit Forums: Errno19 after few minutes running. The program running on an ESP32-S2 has an extra scd.data_available
call immediately beforehand with no intervening statements:
#Read SCD30
if scd.data_available :
label_scd2.text = str(int(scd.CO2))
print("CO2:", scd.CO2, "ppm")
There's a slightly different SCD-30 with Pi 4 issue reported on Adafruit Forums: SCD-30 I2C detection error on Raspberry Pi 4B.
File "adafruit_scd30.py", line 183, in CO2 File "adafruit_scd30.py", line 234, in _read_data File "adafruit_scd30.py", line 221, in _send_command File "adafruit_scd30.py", line 221, in _send_command OSError: [Errno 19] Unsupported operation