Antonia Baumgartner / Mbed 2 deprecated YB_copy

Dependencies:   mbed

Fork of Versuch21 by Antonia Baumgartner

Classes/IRSensorGF.h

Committer:
baumgant
Date:
2018-05-09
Revision:
5:93d3efe46493
Parent:
0:b886f13e4ac6

File content as of revision 5:93d3efe46493:

#ifndef IR_SENSORGF_H_
#define IR_SENSORGF_H_

#include <cstdlib>
#include <mbed.h>

class IRSensorGF
{

public:
    IRSensorGF(AnalogIn& distance);

    virtual ~IRSensorGF();
    int read();

private:
    AnalogIn& distance;

};

#endif /* IR_SENSORGF_H_ */