Sets up LCD and prints sensor data value of CCS811 Indoor Air Quality sensor to LCD
Dependencies: C12832 CCS811 Sht31
Fork of mbed-cloud-connect-sensor-temp-hum by
Revision 1:76a5fa924120, committed 2017-11-01
- Comitter:
- andcor02
- Date:
- Wed Nov 01 13:25:53 2017 +0000
- Parent:
- 0:80032665d37e
- Child:
- 2:587b4d7444d1
- Commit message:
- clear screen
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Nov 01 13:20:56 2017 +0000 +++ b/main.cpp Wed Nov 01 13:25:53 2017 +0000 @@ -19,5 +19,7 @@ lcd.printf("[AIR QUAL]"); lcd.locate(0,15); lcd.printf("eCO2:%dppm, TVO:%dppb", eco2, tvoc); // Print to LCD values + wait(1); + lcd.cls(); } }