Amber Tang / Mbed 2 deprecated JS_1motor_20170707_ok

Dependencies:   PID Servo mbed

Files at this revision

API Documentation at this revision

Comitter:
Amber77
Date:
Sat Jul 08 09:37:51 2017 +0000
Parent:
1:bfdd210b730a
Commit message:
7 to 8

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r bfdd210b730a -r 868e7c902ba6 main.cpp
--- a/main.cpp	Sat Jul 08 17:33:30 2017 +0800
+++ b/main.cpp	Sat Jul 08 09:37:51 2017 +0000
@@ -23,7 +23,7 @@
 DigitalOut Y2_CW_CCW(PC_9);
 
 Servo X_PWM(D6);
-Servo Y_PWM(D7);
+Servo Y_PWM(D8);
 
 //DigitalIn phaseA(A0); // phase A of the quadrature encoder
 //DigitalIn phaseB(A1); // phase B of the quadrature encoder