good

Dependencies:   mbed

Fork of BX-car by Clark Lin

servo_api.h

Committer:
even
Date:
2014-06-25
Revision:
11:ffd762ae141b
Parent:
9:33b99cb45e99

File content as of revision 11:ffd762ae141b:




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