scd30
scd30 copied to clipboard
Python I2C driver for the SCD30 CO2, temperature and humidity sensor.
- Altitude compensation property. - Method waiting for data to be ready. - Fix set_measurement_interval as it doesn't return any value. - Add constants for the sensor commands.
Calling `sensor.get_data_ready()` in a loop causes a slow memory leak. It gets worse if periodic measurement is enabled. ```python import time import tracemalloc from scd30_i2c import SCD30 def print_trace_diff(a, b):...
Hi, could you provide a list of RPi's that are known to work with the library? If there are special tweaks necessary for other than RPi4, that would also be...
Hi, the sample code on pypi is missing the "import time". https://pypi.org/project/scd30-i2c/