Alexander Lüthard
/
Micromouse
Alle Prinf's auskommentiert
Fork of Micromouse by
IRSensor.h
- Committer:
- luethale
- Date:
- 2018-05-10
- Revision:
- 19:e2cb5b8a7a29
- Parent:
- 1:2b5f79285a3e
- Child:
- 10:84534846e1f1
File content as of revision 19:e2cb5b8a7a29:
#ifndef IR_SENSOR_H_ #define IR_SENSOR_H_ #include <cstdlib> #include <mbed.h> class IRSensor { public: IRSensor (AnalogIn& distance); virtual ~IRSensor(); float readL(); float readR(); float readC(); float readB(); private: AnalogIn& distance; }; #endif /* IR_SENSOR H */