전시회용
Dependencies: Servo WizFi250Interface mbed
Fork of Remote_Boat_WIZwiki-W7500ECO_WizFi250 by
Revision 4:ecce8d101cde, committed 2016-10-21
- Comitter:
- justinkim
- Date:
- Fri Oct 21 03:58:55 2016 +0000
- Parent:
- 3:3e8bf06dfa83
- Commit message:
- update
;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Apr 04 09:52:21 2016 +0000 +++ b/main.cpp Fri Oct 21 03:58:55 2016 +0000 @@ -19,8 +19,8 @@ /* motor setup */ -Servo servo(P23); -PwmOut motor(P21); +Servo servo(P10); +PwmOut motor(P9); @@ -101,7 +101,7 @@ printf("stop\r\n"); } - if( speed < 0.55 ) speed = 0.55; + if( speed < 0.50 ) speed = 0.50; else if ( speed > 1.0 ) speed = 1.0; printf("speed %.3f\r\n", speed); motor.write(speed);