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
Diff: main.cpp
- Revision:
- 6:060cb9725ce3
- Parent:
- 5:9fa79cb5ec98
- Child:
- 7:0d3484dc13a9
--- a/main.cpp Wed Jan 12 11:18:44 2011 +0000 +++ b/main.cpp Wed Jan 12 14:16:20 2011 +0000 @@ -1,6 +1,6 @@ /* * mbed Weather Platform - * Copyright (c) 2010 Hiroshi Suga + * Copyright (c) 2011 Hiroshi Suga * Released under the MIT License: http://mbed.org/license/mit */ @@ -8,7 +8,7 @@ * @brief mbed Weather Platform */ -#define VERSION "mbed Weather Platform 0.1.1 (C) 2010 Suga koubou Co.,Ltd." +#define VERSION "mbed Weather Platform 0.1.2 (C) 2011 Suga koubou Co.,Ltd." #define USE_I2CLEDDISP // I2C LED Display //#define NONBLOCKING // ethernet function non-bloking @@ -142,7 +142,7 @@ void init () { FILE *fp; - conf.load("/sd/weather.cf"); + conf.load("/sd/weather.cfg"); pc.printf("Interval: %d sec\r\n", conf.interval);