mbed Weather Platform firmware http://mbed.org/users/okini3939/notebook/mbed-weather-platform-firmware/
Dependencies: ChaNFSSD EthernetNetIf I2CLEDDisp Agentbed ChaNFSUSB ILinterpreter mbed BMP085 WeatherMeters ConfigFile ChaNFS I2CLCD
Diff: file.cpp
- Revision:
- 6:898c306f7990
- Parent:
- 5:90f840432195
- Child:
- 7:f7c98d836f81
--- a/file.cpp Wed Oct 12 02:18:00 2011 +0000 +++ b/file.cpp Sun Jan 15 13:28:12 2012 +0000 @@ -251,6 +251,9 @@ if (cfg.getValue("OFFSET[H]", buf, sizeof_1(buf))) { offset.humi = atof(buf); } + if (cfg.getValue("OFFSET[V]", buf, sizeof_1(buf))) { + offset.vane = atof(buf); + } #ifdef USE_EMAIL cfg.getValue("SMTPSERVER", conf.smtphost, sizeof_1(conf.smtphost));