Antonia Baumgartner / Mbed 2 deprecated YB_copy

Dependencies:   mbed

Fork of Versuch21 by Antonia Baumgartner

Classes/IRSensorZ.h

Committer:
baumgant
Date:
2018-04-22
Revision:
0:b886f13e4ac6

File content as of revision 0:b886f13e4ac6:

#ifndef IR_SENSORZ_H_
#define IR_SENSORZ_H_

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

class IRSensorZ {
    
public:
    IRSensorZ(AnalogIn& distance);
    
    virtual ~IRSensorZ();
    int read();
    
private:
    AnalogIn& distance;

};

#endif /* IR_SENSORZ_H_ */