I use a serial port to control the stepper motor, and I want to know the position of the motor at any time, so I can know when to stop captuingr image with a CCD.
There is only a serial port, if I accessing the serial port with two loops, the step motor will buzzing.
So, I want to know if there is method to solve the problem.