Thesis Rotating Platform, Uart Control
Dependencies: BufferedSerial X_NUCLEO_IHM01A1_Disabled_Control mbed
Fork of Demo_IHM01A1_3-Motors by
Revision 5:a0268a435bb1, committed 2015-11-20
- Comitter:
- Davidroid
- Date:
- Fri Nov 20 18:03:43 2015 +0000
- Parent:
- 4:3331bcf7b08e
- Child:
- 6:10bf302cd369
- Commit message:
- + Application updated to reflect addition of FLAG interrupt to the X_NUCLEO_IHM01A1 library.
Changed in this revision
X_NUCLEO_IHM01A1.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/X_NUCLEO_IHM01A1.lib Thu Nov 19 14:12:30 2015 +0000 +++ b/X_NUCLEO_IHM01A1.lib Fri Nov 20 18:03:43 2015 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ST-Expansion-SW-Team/code/X_NUCLEO_IHM01A1/#a47569fc7534 +http://developer.mbed.org/teams/ST-Expansion-SW-Team/code/X_NUCLEO_IHM01A1/#f7e0c3621f77
--- a/main.cpp Thu Nov 19 14:12:30 2015 +0000 +++ b/main.cpp Fri Nov 20 18:03:43 2015 +0000 @@ -72,10 +72,10 @@ DevSPI dev_spi(D11, D12, D13); /* Initializing Motor Control Component. */ - motor1 = new L6474(D8, D7, D9, D10, dev_spi); + motor1 = new L6474(D2, D8, D7, D9, D10, dev_spi); if (motor1->Init(NULL) != COMPONENT_OK) return false; - motor2 = new L6474(D8, D4, D3, D10, dev_spi); + motor2 = new L6474(D2, D8, D4, D3, D10, dev_spi); if (motor2->Init(NULL) != COMPONENT_OK) return false;