Weather station project updated display and sensors

Dependencies:   BH1750 BMP280 DS1820 HMC5983 Helios MAX17043 MPU6050 SHTx SSD1306_I2C A4988_stepper mbed

Fork of weather_station_project by Daniel David

Files at this revision

API Documentation at this revision

Comitter:
daniel_davvid
Date:
Wed Jul 04 06:41:14 2018 +0000
Parent:
1:f20e1ea0302e
Child:
3:44517d2520e1
Commit message:
Updates

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sun Jul 01 18:12:31 2018 +0000
+++ b/main.cpp	Wed Jul 04 06:41:14 2018 +0000
@@ -201,7 +201,7 @@
             }   
                  
         }
-        if (displayTimer.read() > 1) {
+        if (displayTimer.read() > 0.5) {
             displayTimer.reset();
             pc.printf("UTC time is: %s\n", buffer);
             pc.printf("Sun azimuth: %.2f, elevation: %.2f\n", sun.azimuth(), sun.elevation());