motor control

Dependents:   1-DoorCloser

Fork of X_NUCLEO_IHM01A1 by Robotique FIP

Revision:
19:5f0b00a1e38d
Parent:
18:2d6ab2b93685
Child:
20:a8e81b65f0af
--- 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.