
prime funzioni per i motori
Dependencies: X_NUCLEO_IHM12A1 mbed
Fork of HelloWorld_IHM12A1 by
Revision 2:1e4061cedf1d, committed 2016-11-17
- Comitter:
- Manu_L
- Date:
- Thu Nov 17 16:45:33 2016 +0000
- Parent:
- 1:c06b4ac7132b
- Child:
- 3:47c365b699b5
- Commit message:
- Replace SetDualFullBridgeconfig by SetDualFullBridgeConfig
Changed in this revision
X-NUCLEO-IHM12A1.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-IHM12A1.lib Thu Apr 28 14:08:19 2016 +0000 +++ b/X-NUCLEO-IHM12A1.lib Thu Nov 17 16:45:33 2016 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ST-Expansion-SW-Team/code/X-NUCLEO-IHM12A1/#13bc901c90aa +http://developer.mbed.org/teams/ST-Expansion-SW-Team/code/X-NUCLEO-IHM12A1/#232e0c730f59
--- a/main.cpp Thu Apr 28 14:08:19 2016 +0000 +++ b/main.cpp Thu Nov 17 16:45:33 2016 +0000 @@ -132,7 +132,7 @@ if (motor->Init(&initDeviceParameters) != COMPONENT_OK) exit(EXIT_FAILURE); /* Set dual bridge enabled as two motors are used*/ - motor->SetDualFullBridgeconfig(1); + motor->SetDualFullBridgeConfig(1); /* Attaching and enabling an interrupt handler. */ motor->AttachFlagIRQ(&myFlagIRQHandler);