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_proj 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
Commit message:
Updates

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f20e1ea0302e -r bc1c1f395e9a main.cpp
--- 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());