shared

Dependencies:   mbed-rtos mbed

Fork of Boboobooo by kao yi

servo_api.h

Committer:
backman
Date:
2014-05-25
Revision:
0:68c173249c01
Child:
8:089b778962c4

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