READY TO RUMBLE

Dependencies:   mbed

Fork of Micromouse_alpha_copy_copy by PES2_R2D2.0

IRSensor.h

Committer:
ruesipat
Date:
2018-03-31
Revision:
1:d9e840c48b1e
Parent:
0:a9fe4ef404bf

File content as of revision 1:d9e840c48b1e:

#ifndef IR_SENSOR_H_
#define IR_SENSOR_H_

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

class IRSensor
{

public:

    IRSensor(AnalogIn& distance);
    virtual ~IRSensor();
    float read();
private:
    AnalogIn& distance;


};

#endif /* IR_SENSOR_H_ */