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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ThermistorMCP9701.h Source File

ThermistorMCP9701.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_MCP9701_H_
00009 #define _THERMISTOR_MCP9701_H_
00010 
00011 #include <mbed.h>
00012 
00013 #include "Thermistor.h"
00014 
00015 class ThermistorMCP9701 : public Thermistor {
00016 public:
00017     explicit ThermistorMCP9701(PinName pin);
00018     virtual ~ThermistorMCP9701();
00019     virtual double read();
00020 private:
00021     AnalogIn analogInput;
00022 };
00023 
00024 #endif