Hello!
I drive a stepper motor with the K8097-Velleman-board.
If it moves clockwise, the output of get moving is true. If it moves counter-clockwise, the output of get moving is false.
Does anyone know about this mistake?
Kind regards,
Bibi01
Hello!
I drive a stepper motor with the K8097-Velleman-board.
If it moves clockwise, the output of get moving is true. If it moves counter-clockwise, the output of get moving is false.
Does anyone know about this mistake?
Kind regards,
Bibi01
Keep in mind that GetMoving reflects the last state that has been received from the K8097. That means that the following pseudo code is not correct:
Move(...)
If GetMoving() = True Then
...
End If
By the time GetMoving is called, the new state may or may not have been received yet.