Shop OBEX P1 Docs P2 Docs Learn Events
The Pause Function Propeller — Parallax Forums

The Pause Function Propeller

DiscoveryDiscovery Posts: 606
edited 2014-04-02 14:21 in Propeller 1
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.

Comments

  • ElectrodudeElectrodude Posts: 1,658
    edited 2014-04-02 14:21
    Are you using PropBasic? Did you set your crystal settings right? Try making the PAUSE take less time (20 maybe) and see if anything happens.
Sign In or Register to comment.