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

Dependencies:   EthernetNetIf mbed

Sensor/SensorLM60.h

Committer:
shintamainjp
Date:
2010-08-11
Revision:
1:123eff9ba7b2
Parent:
0:77d8b45a8f42

File content as of revision 1:123eff9ba7b2:

/**
 * Sensor interface driver. (Version 0.0.1)
 *
 * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems)
 * http://shinta.main.jp/
 */

#ifndef _SENSOR_LM60_H_
#define _SENSOR_LM60_H_

#include <mbed.h>

#include "Sensor.h"

class SensorLM60 : public Sensor {
public:
    explicit SensorLM60(PinName pin);
    virtual ~SensorLM60();
    virtual double read();
private:
    AnalogIn analogInput;
};

#endif