Clark Lin
/
0709
QQQQQQQ
Fork of 7_7Boboobooo by
Diff: servo_api.cpp
- Revision:
- 9:c318ee86d6e9
- Parent:
- 7:f04bde0ca846
diff -r c2c3aee85c2d -r c318ee86d6e9 servo_api.cpp --- a/servo_api.cpp Tue Jul 08 04:36:09 2014 +0000 +++ b/servo_api.cpp Wed Jul 09 07:34:23 2014 +0000 @@ -1,8 +1,8 @@ // 0~180 angle 1~2ms #include "mbed.h" #include "servo_api.h" -#define right_end 1.0 //90 -#define left_end 0.0 //-90 +#define right_end 0.057 //90 +#define left_end 0.025 //-90 //memory opt // 5 degree seperate