Codice per pilotare il motore IHM01A1
Dependencies: mbed X_NUCLEO_IHM01A1
Diff: main.cpp
- Revision:
- 11:3e303a25770d
- Parent:
- 10:8f031470ca9f
- Child:
- 12:e218356f35bd
--- a/main.cpp Fri Nov 27 11:26:14 2015 +0000 +++ b/main.cpp Fri Nov 27 11:29:34 2015 +0000 @@ -70,7 +70,7 @@ /* Initializing SPI bus. */ DevSPI dev_spi(D11, D12, D13); - /* Initializing Motor Control Component in FULL STEP mode. */ + /* Initializing Motor Control Component. */ motor = new L6474(D2, D8, D7, D9, D10, dev_spi); if (motor->Init(NULL) != COMPONENT_OK) return false;