Sharp IR Distance Sensor

Dependents:   NavigationTest_ NavigationTest theRobotNEW theRobot ... more

Sharp.h

Committer:
tashworth
Date:
2014-03-28
Revision:
1:a5ced48cfedc
Parent:
0:04f1a022d4d0

File content as of revision 1:a5ced48cfedc:

#ifndef __SHARP_H__
#define __SHARP_H__

#include "mbed.h"

class Sharp
{
public:
    Sharp( PinName voutPin );
    double getIRDistance(void);
           
    private:
        AnalogIn vout;
};

#endif