Hi. This is the feed program for Cosm. (The previous name of the services is Pachube.)
Dependencies: mbed ThermistorPack Pachube ConfigFile EthernetNetIf TextLCD HTTPClient_ToBeRemoved FatFileSystem SDFileSystem
Diff: mylib/ThermistorPack/ThermistorDummy.h
- Revision:
- 0:521ba375aa0f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mylib/ThermistorPack/ThermistorDummy.h Mon Aug 06 12:37:59 2012 +0000 @@ -0,0 +1,28 @@ +/** + * Thermistor interface driver. (Version 0.0.1) + * + * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) + * http://shinta.main.jp/ + */ + +#ifndef _THERMISTOR_DUMMY_H_ +#define _THERMISTOR_DUMMY_H_ + +#include <mbed.h> + +#include "Thermistor.h" + +class ThermistorDummy : public Thermistor { +public: + ThermistorDummy(); + virtual ~ThermistorDummy(); + virtual double read(); +private: + static const int MIN = -10; + static const int MAX = 50; + double memory; + + static double getNextValue(double prev); +}; + +#endif