mbed Weather Platform firmware http://mbed.org/users/okini3939/notebook/mbed-weather-platform-firmware/

Dependencies:   EthernetNetIf SDHCFileSystem I2CLEDDisp Agentbed NTPClient_NetServices mbed BMP085 HTTPClient ConfigFile I2CLCD

Revision:
14:ee6cc1632166
Parent:
13:20c0f845df68
Child:
15:07bfa25ba6ae
--- a/conf.h	Sat Mar 19 21:24:01 2011 +0000
+++ b/conf.h	Tue Mar 29 18:15:27 2011 +0000
@@ -4,7 +4,7 @@
 #include "mbed.h"
 #include "EthernetNetIf.h"
 
-#define CONFIG_FILE "/sd/weather.cfg"
+#define CONFIG_FILE "weather.cfg"
 
 
 #define CF_ACTION_EXPS 10
@@ -20,6 +20,8 @@
     EXP_GT,
     EXP_MOD,
     EXP_NMOD,
+    EXP_FALL,
+    EXP_RISE,
 };
 
 enum eINPUTTYPE {
@@ -40,6 +42,10 @@
     struct tExpression exps[CF_ACTION_EXPS];
 };
 
+struct Sensor {
+    float pres, temp, humi, light, anemo, vane, rain, uv, moist, temp2;
+};
+
 struct Config {
     int interval;
     IpAddr ipaddr, netmask, gateway, nameserver;