QQQ

Dependencies:   mbed-rtos mbed

Fork of BX-car_s by Tony Lin

servo_api.h

Committer:
physicsgood
Date:
2014-07-02
Revision:
23:d6d4e8adf7fe
Parent:
9:33b99cb45e99
Child:
10:9f0ce6ba7663

File content as of revision 23:d6d4e8adf7fe:




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