StarBoard Orange - Example application No.1 GoogleChartLogger with StarBoard Orange

Dependencies:   EthernetNetIf mbed

Committer:
shintamainjp
Date:
Wed Aug 11 01:53:35 2010 +0000
Revision:
0:77d8b45a8f42

        

Who changed what in which revision?

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