Tony Lin
/
BX-car
hello
Fork of BX-car by
Diff: servo_api.h
- Revision:
- 10:9f0ce6ba7663
- Parent:
- 9:33b99cb45e99
--- a/servo_api.h Tue Jun 24 10:06:54 2014 +0000 +++ b/servo_api.h Thu Jun 26 14:29:53 2014 +0000 @@ -1,31 +1,14 @@ - - - #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 - - - }; \ No newline at end of file + //0~36 // 18 mid +}; \ No newline at end of file