AKstudios / CCS811-library

This is a library for the CCS811 digital TVOC/eCO2 Sensor by CCMOSS/AMS
Apache License 2.0
24 stars 10 forks source link

ALG_RESULT_DATA with Write #1

Closed AndreiD closed 7 years ago

AndreiD commented 7 years ago

Hello, Thanks for sharing code for this library. I don't know C, and I'm trying to convert your code to Java. So far so good, I'm at the last step, reading the results.

I see that you write to ALG_RESULT_DATA, while in the datasheet it sais this address is R (meaning Read Only ? maybe)

0x02 ALG_RESULT_DATA R (* THIS IS READ **) up to 8 bytes Algorithm result. The most significant 2 bytes contain a ppm estimate of the equivalent CO2 (eCO2) level, and the next two bytes contain a ppb estimate of the total VOC level.

I'm wondering why you do it