Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HP206C mbed HMC5883L DHT DS1820
Diff: main.cpp
- Revision:
- 33:2a6476c33e74
- Parent:
- 0:fa6e7dd26ef2
- Child:
- 45:60f602ecd59b
- Child:
- 74:087a2b250497
diff -r 6b491b7b75e9 -r 2a6476c33e74 main.cpp
--- a/main.cpp Tue Sep 25 15:34:34 2018 +0000
+++ b/main.cpp Tue Sep 25 15:48:03 2018 +0000
@@ -4,9 +4,16 @@
int main() {
while(1) {
- myled = 1; // LED is ON
- wait(0.2); // 200 ms
- myled = 0; // LED is OFF
- wait(1.0); // 1 sec
+ /*
+ read T&H air
+ read T sol
+ read H sol
+ read Pressure
+ read Magnetic
+
+ m = genMessage(T_air, H_air, T_sol, H_sol, Pressure, Mag)
+ sendMessage(m)
+ */
+ wait(60*15);
}
}
