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:
- 45:60f602ecd59b
- Parent:
- 33:2a6476c33e74
- Child:
- 46:40b6bbf6167e
diff -r 46310c0f1662 -r 60f602ecd59b main.cpp
--- a/main.cpp Mon Oct 01 09:45:34 2018 +0000
+++ b/main.cpp Mon Oct 01 10:02:53 2018 +0000
@@ -1,6 +1,8 @@
#include "mbed.h"
+#include "config.h"
+#include "communication.h"
-DigitalOut myled(LED1);
+Serial wisol(SERIAL_PORT);
int main() {
while(1) {
@@ -14,6 +16,6 @@
m = genMessage(T_air, H_air, T_sol, H_sol, Pressure, Mag)
sendMessage(m)
*/
- wait(60*15);
+ wait(WAIT_TIME);
}
}
