123

Dependencies:   mbed

Fork of Boboobooo by Clark Lin

servo_api.h

Committer:
even
Date:
2014-07-10
Revision:
12:a3cee7619b77
Parent:
6:b046d6ff3745

File content as of revision 12:a3cee7619b77:


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