Antonia Baumgartner / Mbed 2 deprecated Versuch21

Dependencies:   mbed

Fork of Versuch20 by Alexander Wyss

Classes/IRSensorGF.h

Committer:
baumgant
Date:
2018-04-22
Revision:
0:b886f13e4ac6
Child:
5:64d7b4b69fdf

File content as of revision 0:b886f13e4ac6:

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