123

Dependencies:   mbed

Fork of Boboobooo by Clark Lin

servo_api.h

Committer:
physicsgood
Date:
2014-07-07
Revision:
6:b046d6ff3745
Parent:
0:68c173249c01

File content as of revision 6:b046d6ff3745:


#include "mbed.h"



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