
prime funzioni per i motori
Dependencies: X_NUCLEO_IHM12A1 mbed
Fork of HelloWorld_IHM12A1 by
Diff: main.cpp
- Revision:
- 2:1e4061cedf1d
- Parent:
- 0:773e2a2be16f
- Child:
- 5:9d031bbc6a8e
--- 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);