![](/media/cache/profiles/45364131_10156363599144681_3034524867140517888_n.jpg.50x50_q85.jpg)
Working eCO2 and TVOC sensor
Revision 3:13e51613b175, committed 2017-10-19
- Comitter:
- andcor02
- Date:
- Thu Oct 19 12:30:01 2017 +0000
- Parent:
- 2:f0800e58f4b0
- Commit message:
- changed defines for global
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 19 11:32:39 2017 +0000 +++ b/main.cpp Thu Oct 19 12:30:01 2017 +0000 @@ -5,12 +5,12 @@ Serial pc(USBTX, USBRX); -#ifdef TARGET_K64F +#ifdef TARGET_UBLOX_EVK_ODIN_W2 +CCS811 ccs811(PF_0, PF_1); +#else CCS811 ccs811(I2C_SDA, I2C_SCL); #endif -#ifdef TARGET_UBLOX_EVK_ODIN_W2 -CCS811 ccs811(PF_0, PF_1); -#endif + uint16_t eco2, tvoc;