Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed ThermistorPack Pachube ConfigFile EthernetNetIf TextLCD HTTPClient_ToBeRemoved FatFileSystem SDFileSystem
ThermistorDummy.h
00001 /** 00002 * Thermistor interface driver. (Version 0.0.1) 00003 * 00004 * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) 00005 * http://shinta.main.jp/ 00006 */ 00007 00008 #ifndef _THERMISTOR_DUMMY_H_ 00009 #define _THERMISTOR_DUMMY_H_ 00010 00011 #include <mbed.h> 00012 00013 #include "Thermistor.h" 00014 00015 class ThermistorDummy : public Thermistor { 00016 public: 00017 ThermistorDummy(); 00018 virtual ~ThermistorDummy(); 00019 virtual double read(); 00020 private: 00021 static const int MIN = -10; 00022 static const int MAX = 50; 00023 double memory; 00024 00025 static double getNextValue(double prev); 00026 }; 00027 00028 #endif
Generated on Tue Jul 12 2022 18:41:21 by
1.7.2