5 Commits

Author SHA1 Message Date
0b8408ef13 improved CO2 code (details https://forum.airgradient.com/t/s8-co2-reading-of-1/69/15) 2022-01-20 08:26:27 +07:00
7c02564ed4 Added return to compile with platformIO 2021-10-15 22:01:57 +02:00
c270cda600 Updated library to work with ESP8266 board manager version 3.0.0 2021-06-08 08:33:51 +07:00
e6d886c00e v1.0.2
-Changed getCO2 to return a char and if sensor is non existent will return NULL
-Changed getPM2 to return a char and if sensor is non existent will return NULL
-Added a new function getPM2_Raw which will return the value of PM2 as an integer
-Added a new function getCO2_Raw which will return the value of CO2 as an integer
-Added 2 new variables in the TMP_Raw Struct:
1. t_Char
2. rh_Char
These variables will be used to store the corresponding values as char and if sensor is nonexistent should be NULL
2020-07-25 14:28:18 +08:00
3775be0034 v1.0.1
-Fixed getCO2 function
2020-07-25 14:22:48 +08:00