GPYX sensor library

Fork of Sharp by UH Robotics

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Gp2x.h Source File

Gp2x.h

00001 #ifndef GP2X_H
00002 #define GP2X_H
00003 
00004 #include "mbed.h"
00005 
00006 class Gp2x
00007 {
00008 public:
00009     Gp2x( PinName voutPin );
00010     double getIRDistance(void);
00011            
00012     private:
00013         AnalogIn vout;
00014 };
00015 
00016 #endif