AVGG

Dependencies:   mbed

Fork of 7_7Boboobooo by 譯文 張

servo_api.h

Committer:
physicsgood
Date:
2014-07-10
Revision:
15:7f21c08be164
Parent:
6:b046d6ff3745

File content as of revision 15:7f21c08be164:


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