kao yi
/
Bov3
wu
Fork of CCC by
Diff: servo_api.cpp
- Revision:
- 15:585df3979be8
- Parent:
- 10:03d5aa2511c4
--- a/servo_api.cpp Sat Jun 28 12:16:33 2014 +0000 +++ b/servo_api.cpp Sun Jun 29 14:02:25 2014 +0000 @@ -3,9 +3,9 @@ #include "servo_api.h" -#define right_end 0.06 //90 +#define right_end 0.037 //90 0.037 -#define left_end 0.101 //-90 +#define left_end 0.073 //-90 0.073 //memory opt // 5 degree seperate @@ -31,12 +31,13 @@ float BX_servo::set_angle(float a){ - + + /* if( a>left_end ) a=left_end; else if(a< right_end) a=right_end; - + */