adafruit / Adafruit_CCS811

Arduino driver for CCS811 digital gas sensor
MIT License
65 stars 36 forks source link

Update Adafruit_CCS811.cpp #27

Closed adams13x13 closed 3 years ago

adams13x13 commented 3 years ago

fixes #26 Get correct bits for _rawADCreading

ladyada commented 3 years ago

hey agree with the bitmath, how are ya testing?

adams13x13 commented 3 years ago

Hi @ladyada, that was fast! I test with ESP8266; there are CCS811, BME280, BMP280, Si7021 and an LCD display on the I2C bus as well as DHT22 some DS18B20 connected to the same micro controller. In fact, I was switching to the library of Maarten Pennings to read things like application version and to understand why the readout goes crazy after I open and close the window. Specifically, the firmware on the CCS811 chip sets the base line register to something irrational when the window is open. I wanted to make sure the two libraries do the same.

ladyada commented 3 years ago

ok thanx!