ThermistorPack.

Dependents:   Pachube_TestProgram ThermistorPack_TestProgram _DearMrJeffMourich StarBoardOrangeExpansion2 ... more

Committer:
shintamainjp
Date:
Tue Oct 12 22:21:09 2010 +0000
Revision:
1:4f84f03b1703
Parent:
0:ac6a05fefa2f
First version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shintamainjp 0:ac6a05fefa2f 1 /**
shintamainjp 1:4f84f03b1703 2 * Thermistor interface driver. (Version 0.0.1)
shintamainjp 0:ac6a05fefa2f 3 *
shintamainjp 0:ac6a05fefa2f 4 * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems)
shintamainjp 0:ac6a05fefa2f 5 * http://shinta.main.jp/
shintamainjp 0:ac6a05fefa2f 6 */
shintamainjp 0:ac6a05fefa2f 7
shintamainjp 0:ac6a05fefa2f 8 #ifndef _THERMISTOR_LM60_H_
shintamainjp 0:ac6a05fefa2f 9 #define _THERMISTOR_LM60_H_
shintamainjp 0:ac6a05fefa2f 10
shintamainjp 0:ac6a05fefa2f 11 #include <mbed.h>
shintamainjp 0:ac6a05fefa2f 12
shintamainjp 0:ac6a05fefa2f 13 #include "Thermistor.h"
shintamainjp 0:ac6a05fefa2f 14
shintamainjp 0:ac6a05fefa2f 15 class ThermistorLM60 : public Thermistor {
shintamainjp 0:ac6a05fefa2f 16 public:
shintamainjp 0:ac6a05fefa2f 17 explicit ThermistorLM60(PinName pin);
shintamainjp 0:ac6a05fefa2f 18 virtual ~ThermistorLM60();
shintamainjp 0:ac6a05fefa2f 19 virtual double read();
shintamainjp 0:ac6a05fefa2f 20 private:
shintamainjp 0:ac6a05fefa2f 21 AnalogIn analogInput;
shintamainjp 0:ac6a05fefa2f 22 };
shintamainjp 0:ac6a05fefa2f 23
shintamainjp 0:ac6a05fefa2f 24 #endif