good

Dependencies:   mbed

Fork of BX-car by Clark Lin

servo_api.h

Committer:
backman
Date:
2014-05-25
Revision:
0:68c173249c01
Child:
9:33b99cb45e99

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];
    
    };