123

Dependencies:   mbed

Fork of Boboobooo by Clark Lin

servo_api.h

Committer:
backman
Date:
2014-05-25
Revision:
0:68c173249c01
Child:
6:b046d6ff3745

File content as of revision 0:68c173249c01:




#include "mbed.h"



class BX_servo{
    
    
    public:
        int set_angle(int a);
    
        BX_servo(void);
    
    
    
    
    
    
    
    private:
    
        //-90~0~90
        int angle ;
    
        PwmOut* servo_in;
         //0~36  // 18 mid  
        float angle_level[37];
    
    };