Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial X_NUCLEO_IHM01A1_Disabled_Control mbed
Fork of Demo_IHM01A1_3-Motors by
Diff: main.cpp
- Revision:
- 16:810667a9f31f
- Parent:
- 14:fcd452b03d1a
- Child:
- 17:aae1446c67f4
--- a/main.cpp Mon Jan 04 16:02:39 2016 +0000
+++ b/main.cpp Wed Jan 13 15:12:12 2016 +0000
@@ -73,9 +73,9 @@
/* Initializing Motor Control Components. */
motor1 = new L6474(D2, D8, D7, D9, D10, dev_spi);
+ motor2 = new L6474(D2, D8, D4, D3, D10, dev_spi);
if (motor1->Init() != COMPONENT_OK)
exit(EXIT_FAILURE);
- motor2 = new L6474(D2, D8, D4, D3, D10, dev_spi);
if (motor2->Init() != COMPONENT_OK)
exit(EXIT_FAILURE);
