READY TO RUMBLE
Dependencies: mbed
Fork of Micromouse_alpha_copy_copy by
Diff: IRSensor.h
- Revision:
- 1:d9e840c48b1e
- Parent:
- 0:a9fe4ef404bf
--- a/IRSensor.h Wed Mar 07 14:06:19 2018 +0000 +++ b/IRSensor.h Sat Mar 31 16:45:57 2018 +0000 @@ -8,15 +8,14 @@ { public: - IRSensor(AnalogIn& distance, DigitalOut& bit0, DigitalOut& bit1, DigitalOut& bit2, int number); + + IRSensor(AnalogIn& distance); virtual ~IRSensor(); float read(); private: AnalogIn& distance; - DigitalOut& bit0; - DigitalOut& bit1; - DigitalOut& bit2; - int number; + + }; #endif /* IR_SENSOR_H_ */ \ No newline at end of file