Código finalizado do projeto!!
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_IHM01A1 by
Revision 19:5f0b00a1e38d, committed 2016-01-13
- Comitter:
- Davidroid
- Date:
- Wed Jan 13 14:59:19 2016 +0000
- Parent:
- 18:2d6ab2b93685
- Child:
- 20:a8e81b65f0af
- Commit message:
- + Enabled methods accidentally left commented within the "StepperMotor" interface.
Changed in this revision
| Components/Interfaces/StepperMotor_class.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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.
