Sharp IR Distance Sensor
Dependents: NavigationTest_ NavigationTest theRobotNEW theRobot ... more
Sharp.h
- Committer:
- tashworth
- Date:
- 2013-12-12
- Revision:
- 0:04f1a022d4d0
- Child:
- 1:a5ced48cfedc
File content as of revision 0:04f1a022d4d0:
#ifndef __SHARP_H__ #define __SHARP_H__ #include "mbed.h" class Sharp { public: Sharp( PinName voutPin ); double getDistance(void); private: AnalogIn vout; }; #endif