Contains code to drive a small stepper motor with a Freescale h-bridge driver evaluation board, and a Freedom FRDM-KL25Z
Fork of LVHB Stepper Motor Drive by
Revision 2:edf5ce5e6295, committed 2017-03-10
- Comitter:
- bdbohn
- Date:
- Fri Mar 10 23:49:20 2017 +0000
- Parent:
- 1:2c8685757654
- Commit message:
- Fixed Error
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Mar 10 23:27:05 2017 +0000 +++ b/main.cpp Fri Mar 10 23:49:20 2017 +0000 @@ -63,10 +63,10 @@ DigitalOut blue_led(LED3); //Input pins on Eval Board -DigitalOut IN1A(PTD4); // Pin IN1A input to EVAL board (FRDM PIN Name) -DigitalOut IN1B(PTA12); // Pin IN1B input to EVAL board (FRDM PIN Name) -DigitalOut IN2A(PTA4); // Pin IN2A input to EVAL board (FRDM PIN Name) -DigitalOut IN2B(PTA5); // Pin IN2B input to EVAL board (FRDM PIN Name) +DigitalOut IN1A(PTA5); // Pin IN1A input to EVAL board (FRDM PIN Name) +DigitalOut IN1B(PTC8); // Pin IN1B input to EVAL board (FRDM PIN Name) +DigitalOut IN2A(PTA13); // Pin IN2A input to EVAL board (FRDM PIN Name) +DigitalOut IN2B(PTD5); // Pin IN2B input to EVAL board (FRDM PIN Name) //Green LED on Eval Board // DigitalOut READY(PTC5); // Pin READY input to EVAL board (FRDM PIN Name)