Servo control

Dependencies:   mbed-rtos mbed

angle.h

Committer:
romankrej
Date:
2015-02-10
Revision:
0:79ed3a6c9ccc

File content as of revision 0:79ed3a6c9ccc:

#ifndef _ANGLE_H
#define _ANGLE_H
extern char i;

class IRsensor { 

    AnalogIn IRsens;
    float phi_new;
    float s_phi[8];
    
public:
    IRsensor(PinName IRpin);
    float get_angle(void);
};

#endif