Clark Lin
/
1407102
AVGG
Fork of 7_7Boboobooo by
Diff: servo_api.cpp
- Revision:
- 9:a891053657f3
- Parent:
- 7:f04bde0ca846
--- a/servo_api.cpp Tue Jul 08 04:36:09 2014 +0000 +++ b/servo_api.cpp Wed Jul 09 14:08:11 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.054 //90 +#define left_end 0.025 //-90 //memory opt // 5 degree seperate