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:
9:8c63e4f3edab
Parent:
7:0d3484dc13a9
Child:
10:848a2205aed1
--- a/conf.h	Wed Jan 26 16:28:52 2011 +0000
+++ b/conf.h	Tue Feb 22 14:40:11 2011 +0000
@@ -1,49 +1,49 @@
-/** @file
- * @brief mbed Weather Platform
- */
-#include "mbed.h"
-#include "EthernetNetIf.h"
-
-#define CONFIG_FILE "/sd/weather.cfg"
-
-
-#define CF_ACTION_EXPS 10
-#define CF_ACTION_NUM 10
-
-enum eEXPRESSION {
-    EXP_NULL,
-    EXP_EQ,
-    EXP_NE,
-    EXP_LE,
-    EXP_LT,
-    EXP_GE,
-    EXP_GT,
-    EXP_MOD,
-    EXP_NMOD,
-};
-
-struct tExpression {
-    char key;
-    enum eEXPRESSION expression;
-    float value;
-};
-
-struct tAction {
-    int action;
-    int count;
-    struct tExpression exps[CF_ACTION_EXPS];
-};
-
-struct Config {
-    int interval;
-    IpAddr ipaddr, netmask, gateway, nameserver;
-    char ntpserver[32];
-    int filetype, actionscount;
-    struct tAction actions[CF_ACTION_NUM];
-    char pachube_apikey[70], pachube_feedid[8];
-    char twitter_user[30], twitter_pwd[30], twitter_mesg[160];
-    char stations_id[8], stations_pin[34];
-    char snmp_commname[30];
-};
-
-int config (char *);
+/** @file
+ * @brief mbed Weather Platform
+ */
+#include "mbed.h"
+#include "EthernetNetIf.h"
+
+#define CONFIG_FILE "/sd/weather.cfg"
+
+
+#define CF_ACTION_EXPS 10
+#define CF_ACTION_NUM 10
+
+enum eEXPRESSION {
+    EXP_NULL,
+    EXP_EQ,
+    EXP_NE,
+    EXP_LE,
+    EXP_LT,
+    EXP_GE,
+    EXP_GT,
+    EXP_MOD,
+    EXP_NMOD,
+};
+
+struct tExpression {
+    char key;
+    enum eEXPRESSION expression;
+    float value;
+};
+
+struct tAction {
+    int action;
+    int count;
+    struct tExpression exps[CF_ACTION_EXPS];
+};
+
+struct Config {
+    int interval;
+    IpAddr ipaddr, netmask, gateway, nameserver;
+    char ntpserver[32];
+    int filetype, actionscount;
+    struct tAction actions[CF_ACTION_NUM];
+    char pachube_apikey[70], pachube_feedid[8];
+    char twitter_user[30], twitter_pwd[30], twitter_mesg[160];
+    char stations_id[8], stations_pin[34];
+    char snmp_commname[30];
+};
+
+int config (char *);