ThermistorPack.
Dependents: Pachube_TestProgram ThermistorPack_TestProgram _DearMrJeffMourich StarBoardOrangeExpansion2 ... more
Diff: ThermistorMCP9701.h
- Revision:
- 1:4f84f03b1703
- Parent:
- 0:ac6a05fefa2f
--- 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