Clark Lin
/
BX-car_s
QQQ
Fork of BX-car_s by
servo_api.h
- Committer:
- TonyLin
- Date:
- 2014-06-26
- Revision:
- 10:9f0ce6ba7663
- Parent:
- 9:33b99cb45e99
File content as of revision 10:9f0ce6ba7663:
#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 };