Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Motor PID Joystic_OrdoV3 mbed
Fork of Joystick_OrdoV4 by
Revision 9:5a50782510fb, committed 2016-11-29
- Comitter:
- Joshua23
- Date:
- Tue Nov 29 11:54:22 2016 +0000
- Parent:
- 8:0711dea61312
- Commit message:
- Tambahan codingan servo atas
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Nov 29 11:51:42 2016 +0000 +++ b/main.cpp Tue Nov 29 11:54:22 2016 +0000 @@ -43,9 +43,9 @@ #define diaEncoder 0.058 #define PPR 1000 #define diaRobot 0.64 -#define pinservo1 PC_7 +#define pinservo1 PC_8 //PC 9 -#define pinservo2 PA_0 +#define pinservo2 PC_9 float K_enc = pi*diaEncoder; float K_robot = pi*diaRobot;