ThermistorPack.
Dependents: Pachube_TestProgram ThermistorPack_TestProgram _DearMrJeffMourich StarBoardOrangeExpansion2 ... more
Revision 1:4f84f03b1703, committed 2010-10-12
- Comitter:
- shintamainjp
- Date:
- Tue Oct 12 22:21:09 2010 +0000
- Parent:
- 0:ac6a05fefa2f
- Commit message:
- First version
Changed in this revision
diff -r ac6a05fefa2f -r 4f84f03b1703 Thermistor.h --- a/Thermistor.h Fri Sep 17 23:42:46 2010 +0000 +++ b/Thermistor.h Tue Oct 12 22:21:09 2010 +0000 @@ -1,18 +1,18 @@ -/** - * Sensor interface driver. (Version 0.0.1) - * - * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) - * http://shinta.main.jp/ - */ - -#ifndef _THERMISTOR_H_ -#define _THERMISTOR_H_ - -class Thermistor { -public: - Thermistor(); - virtual ~Thermistor(); - virtual double read() = 0; -}; - -#endif +/** + * Thermistor interface driver. (Version 0.0.1) + * + * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) + * http://shinta.main.jp/ + */ + +#ifndef _THERMISTOR_H_ +#define _THERMISTOR_H_ + +class Thermistor { +public: + Thermistor(); + virtual ~Thermistor(); + virtual double read() = 0; +}; + +#endif
diff -r ac6a05fefa2f -r 4f84f03b1703 ThermistorDummy.cpp --- a/ThermistorDummy.cpp Fri Sep 17 23:42:46 2010 +0000 +++ b/ThermistorDummy.cpp Tue Oct 12 22:21:09 2010 +0000 @@ -1,5 +1,5 @@ /** - * Sensor interface driver. (Version 0.0.1) + * Thermistor interface driver. (Version 0.0.1) * * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) * http://shinta.main.jp/
diff -r ac6a05fefa2f -r 4f84f03b1703 ThermistorDummy.h --- a/ThermistorDummy.h Fri Sep 17 23:42:46 2010 +0000 +++ b/ThermistorDummy.h Tue Oct 12 22:21:09 2010 +0000 @@ -1,5 +1,5 @@ /** - * Sensor interface driver. (Version 0.0.1) + * Thermistor interface driver. (Version 0.0.1) * * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) * http://shinta.main.jp/
diff -r ac6a05fefa2f -r 4f84f03b1703 ThermistorLM35.cpp --- a/ThermistorLM35.cpp Fri Sep 17 23:42:46 2010 +0000 +++ b/ThermistorLM35.cpp Tue Oct 12 22:21:09 2010 +0000 @@ -1,5 +1,5 @@ /** - * Sensor interface driver. (Version 0.0.1) + * Thermistor interface driver. (Version 0.0.1) * * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) * http://shinta.main.jp/
diff -r ac6a05fefa2f -r 4f84f03b1703 ThermistorLM35.h --- a/ThermistorLM35.h Fri Sep 17 23:42:46 2010 +0000 +++ b/ThermistorLM35.h Tue Oct 12 22:21:09 2010 +0000 @@ -1,5 +1,5 @@ /** - * Sensor interface driver. (Version 0.0.1) + * Thermistor interface driver. (Version 0.0.1) * * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) * http://shinta.main.jp/
diff -r ac6a05fefa2f -r 4f84f03b1703 ThermistorLM60.cpp --- a/ThermistorLM60.cpp Fri Sep 17 23:42:46 2010 +0000 +++ b/ThermistorLM60.cpp Tue Oct 12 22:21:09 2010 +0000 @@ -1,5 +1,5 @@ /** - * Sensor interface driver. (Version 0.0.1) + * Thermistor interface driver. (Version 0.0.1) * * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) * http://shinta.main.jp/
diff -r ac6a05fefa2f -r 4f84f03b1703 ThermistorLM60.h --- a/ThermistorLM60.h Fri Sep 17 23:42:46 2010 +0000 +++ b/ThermistorLM60.h Tue Oct 12 22:21:09 2010 +0000 @@ -1,5 +1,5 @@ /** - * Sensor interface driver. (Version 0.0.1) + * Thermistor interface driver. (Version 0.0.1) * * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) * http://shinta.main.jp/
diff -r ac6a05fefa2f -r 4f84f03b1703 ThermistorMCP9701.cpp --- a/ThermistorMCP9701.cpp Fri Sep 17 23:42:46 2010 +0000 +++ b/ThermistorMCP9701.cpp Tue Oct 12 22:21:09 2010 +0000 @@ -1,5 +1,5 @@ /** - * Sensor interface driver. (Version 0.0.1) + * Thermistor interface driver. (Version 0.0.1) * * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) * http://shinta.main.jp/
diff -r ac6a05fefa2f -r 4f84f03b1703 ThermistorMCP9701.h --- a/ThermistorMCP9701.h Fri Sep 17 23:42:46 2010 +0000 +++ b/ThermistorMCP9701.h Tue Oct 12 22:21:09 2010 +0000 @@ -1,24 +1,24 @@ -/** - * Sensor interface driver. (Version 0.0.1) - * - * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) - * http://shinta.main.jp/ - */ - -#ifndef _THERMISTOR_MCP9701_H_ -#define _THERMISTOR_MCP9701_H_ - -#include <mbed.h> - -#include "Thermistor.h" - -class ThermistorMCP9701 : public Thermistor { -public: - explicit ThermistorMCP9701(PinName pin); - virtual ~ThermistorMCP9701(); - virtual double read(); -private: - AnalogIn analogInput; -}; - -#endif +/** + * Thermistor interface driver. (Version 0.0.1) + * + * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) + * http://shinta.main.jp/ + */ + +#ifndef _THERMISTOR_MCP9701_H_ +#define _THERMISTOR_MCP9701_H_ + +#include <mbed.h> + +#include "Thermistor.h" + +class ThermistorMCP9701 : public Thermistor { +public: + explicit ThermistorMCP9701(PinName pin); + virtual ~ThermistorMCP9701(); + virtual double read(); +private: + AnalogIn analogInput; +}; + +#endif