02-20-2010 06:30 PM
Hi,
I am looking to reset a counter output, for each iteration of a for loop. I am controlling the angular position of a stepper motor, by counting the pulses that the motor receives.
it is for use with a panoramic camera. It should move once, stop when the counter value equals the inputed angle * 10. Is that is fine for the first loop, but when the second loop starts, the counter has continued to count up ,and then the motor wont rotate because the counter value os too high... it thinks it has reached the desired positon. so i need to be able to reset the counter output... Any Ideas
Thanks in advance
Peter
02-20-2010 07:35 PM