Antonia Baumgartner / Mbed 2 deprecated Versuch21

Dependencies:   mbed

Fork of Versuch20 by Alexander Wyss

Classes/IRSensorGF.h

Committer:
baumgant
Date:
2018-05-12
Revision:
5:64d7b4b69fdf
Parent:
0:b886f13e4ac6

File content as of revision 5:64d7b4b69fdf:

#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_ */