1.2.3.9 MC_SpeedGet()
mc_speed_t MC_SpeedGet (void )
Returns the motor's the rotational speed.
Note:
Call this function from normal context, not from interrupt context.
None. |
The data type is mc_speed_t, which can be converted to RPM using the macro MC_MCSPEED_TO_RPM |