Lab 6 code.
Dependencies: mbed
Fork of WaG by
Diff: stepper.h
- Revision:
- 19:ad514b1dd53f
- Parent:
- 18:0e281922212c
- Child:
- 20:d23bcd97f2c5
diff -r 0e281922212c -r ad514b1dd53f stepper.h --- a/stepper.h Fri Mar 02 22:18:47 2018 +0000 +++ b/stepper.h Fri Mar 02 22:20:43 2018 +0000 @@ -19,7 +19,7 @@ #define DRV8806_SPI_MODE 0 #define DRV8806_SPI_FREQ 1000000 #define STP_CW 0 -#define STP_CW 1 +#define STP_CCW 1 #define STP_POS_UNKN -5 #define NUM_SENSORS 8