Francesco Pistone
/
FORIGO_Modula_V6_R2_DE_2019
new
Diff: iodefinition.hpp
- Revision:
- 5:3b95bbfe2dc9
- Parent:
- 4:d32258ec411f
- Child:
- 7:c9fd242538d9
--- a/iodefinition.hpp Wed Jun 27 15:33:42 2018 +0000 +++ b/iodefinition.hpp Wed Jul 04 05:51:03 2018 +0000 @@ -9,7 +9,8 @@ #else InterruptIn tractorSpeedRead(PA_5); // define interrupt pin for tractor speed calculation SLAVE MODE //DigitalIn quinconceIn(PA_0,PullUp); - InterruptIn quinconceIn(PA_0); + //InterruptIn quinconceIn(PA_0); + InterruptIn quinconceIn(PB_9); DigitalIn quinconceOut(PB_6,PullUp); // sincro per quinconcio out #endif @@ -31,7 +32,7 @@ DigitalOut TBmotor_M1(PC_8); // TB motor step division M1 DigitalOut TBmotor_M2(PC_6); // TB motor step division M2 -DigitalOut TBmotor_M3(PC_6); // TB motor step division M3 +DigitalOut TBmotor_M3(PC_5); // TB motor step division M3 DigitalOut TBmotorRst(PC_4); // TB motor driver reset DigitalOut TBmotorStepOut(PB_3); // TB motor step command DigitalOut TBmotorDirecti(PA_10); // TB motor direction command