Codice per pilotare il motore IHM01A1
Dependencies: mbed X_NUCLEO_IHM01A1
Diff: main.cpp
- Revision:
- 23:54503e363f67
- Parent:
- 21:0189493b15ec
- Child:
- 25:3c863b420ac5
diff -r 3b691e5ca15e -r 54503e363f67 main.cpp --- a/main.cpp Tue Jan 19 15:58:22 2016 +0000 +++ b/main.cpp Tue Feb 09 10:54:12 2016 +0000 @@ -58,7 +58,7 @@ /* Variables -----------------------------------------------------------------*/ /* Initialization parameters. */ -L6474_InitTypeDef init = +L6474_Init_t init = { 160, /* Acceleration rate in step/s2. Range: (0..+inf). */ 160, /* Deceleration rate in step/s2. Range: (0..+inf). */