1.2.3.10 MC_StartStop()
void MC_StartStop (mc_direction_t direction)
Starts or stops the motor when a start or stop event is received.
Note:
Call this function from normal context, not from interrupt context.
in | direction |
Direction of the motor rotation |
None. |