The Pause Function Propeller
Discovery
Posts: 606
I inserted the PAUSE (1000); instruction in a FOR loop to slow down the output of eight stepper motor drive signals and the controller stopped.
When I remove the PAUSE function the eight signals are outputted fine just at much too high a rate to be used.
Why is that?
Discovery
I found the problem...In the C code, I left a white space between the PAUSE function and the opening ( parenthesis. The IDE compiler did not catch it..
Discovery.
When I remove the PAUSE function the eight signals are outputted fine just at much too high a rate to be used.
Why is that?
Discovery
I found the problem...In the C code, I left a white space between the PAUSE function and the opening ( parenthesis. The IDE compiler did not catch it..
Discovery.
Comments