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: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_IHM01A1 by
Diff: Components/Interfaces/StepperMotor_class.h
- Revision:
- 19:5f0b00a1e38d
- Parent:
- 18:2d6ab2b93685
- Child:
- 20:a8e81b65f0af
diff -r 2d6ab2b93685 -r 5f0b00a1e38d Components/Interfaces/StepperMotor_class.h
--- a/Components/Interfaces/StepperMotor_class.h Wed Jan 13 14:35:59 2016 +0000
+++ b/Components/Interfaces/StepperMotor_class.h Wed Jan 13 14:59:19 2016 +0000
@@ -76,7 +76,7 @@
* @param parameter The parameter's identifier (or its register address).
* @retval The parameter's value.
*/
- //virtual unsigned int GetParameter(unsigned int parameter) = 0;
+ virtual float GetParameter(unsigned int parameter) = 0;
/**
* @brief Getting the position.
@@ -140,7 +140,7 @@
* @param value The parameter's value.
* @retval None.
*/
- //virtual void SetParameter(unsigned int parameter, unsigned int value) = 0;
+ virtual void SetParameter(unsigned int parameter, float value) = 0;
/**
* @brief Setting the current position to be the home position.
