![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Fertige Version mit geschwindigkeit 100
Dependencies: mbed
Fork of Micromouse_alpha_copy_copy by
IRSensor.h
- Committer:
- ruesipat
- Date:
- 2018-05-02
- Revision:
- 7:5ff551b098f8
- Parent:
- 1:d9e840c48b1e
File content as of revision 7:5ff551b098f8:
#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_ */