Tambahan codingan servo, cek pin servo terlebih dahulu, Motor bawah loyo
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 |
diff -r 0711dea61312 -r 5a50782510fb main.cpp --- 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;