updated
Dependencies: mbed Nucleo_Sensor_Shield
Diff: main.cpp
- Revision:
- 3:53d2d440a695
- Parent:
- 2:28f8cd15fca4
- Child:
- 4:0c2adcf321c4
--- a/main.cpp Tue Apr 10 02:48:03 2018 +0000 +++ b/main.cpp Wed Jan 30 03:03:58 2019 +0000 @@ -11,10 +11,9 @@ Ticker update; volatile float TEMPERATURE_C; -volatile float TEMPERATURE_F; -volatile float TEMPERATURE_K; -volatile float HUMIDITY; -volatile float PRESSURE; + +<<<<<<<<Declarations should be here >>>>>>>>>> + bool measurements_update = false; @@ -40,11 +39,11 @@ if(measurements_update == true){ /* Read the environmental sensors */ - <your code should be here> + <<<<<<<< your code should be here >>>>>>>>>> pc.printf("Temperature:\t %.2f C / %.2f F / %.2f K\r\n", TEMPERATURE_C, TEMPERATURE_F, TEMPERATURE_K); - pc.printf("Humidity:\t %.2f%%\r\n", HUMIDITY); + pc.printf("\r\n");