Guojun Jiang
/
StewartPlatform
stewartplatform
Fork of PwmOut_HelloWorld by
Diff: src/motor.cpp
- Revision:
- 3:c5ea5b6a7460
- Parent:
- 2:50062ac8646d
diff -r 50062ac8646d -r c5ea5b6a7460 src/motor.cpp --- a/src/motor.cpp Sat May 07 12:27:09 2016 +0000 +++ b/src/motor.cpp Sat Aug 20 12:06:14 2016 +0000 @@ -1,6 +1,6 @@ #include "motor.h" -PwmOut motor[6] = {PwmOut(D8), PwmOut(D9), PwmOut(D10), PwmOut(D11), PwmOut(D12), PwmOut(D13)}; +PwmOut motor[6] = {PwmOut(PA_6), PwmOut(PA_0), PwmOut(PA_2), PwmOut(PB_0), PwmOut(PA_1), PwmOut(PB_9)}; extern char position[6]; void motor_drive() {