![](/media/cache/profiles/1006ff12c465532f8c574aeaa4461b16.50x50_q85.jpg)
StarBoard Orange - Example application No.1 GoogleChartLogger with StarBoard Orange
Dependencies: EthernetNetIf mbed
Diff: Sensor/SensorMCP9700.h
- Revision:
- 0:77d8b45a8f42
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Sensor/SensorMCP9700.h Wed Aug 11 01:53:35 2010 +0000 @@ -0,0 +1,24 @@ +/** + * Sensor interface driver. (Version 0.0.1) + * + * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) + * http://shinta.main.jp/ + */ + +#ifndef _SENSOR_MCP9700_H_ +#define _SENSOR_MCP9700_H_ + +#include <mbed.h> + +#include "Sensor.h" + +class SensorMCP9700 : public Sensor { +public: + explicit SensorMCP9700(PinName pin); + virtual ~SensorMCP9700(); + virtual double read(); +private: + AnalogIn analogInput; +}; + +#endif