Shop OBEX P1 Docs P2 Docs Learn Events
Continous Servo Rotation — Parallax Forums

Continous Servo Rotation

Ken_tnKen_tn Posts: 16
edited 2010-06-13 15:22 in BASIC Stamp
·· In a sample program I have to drive a robot forward the code looks something like:

start:
··· PULSOUT 15,700
··· PAUSE 20
··· PULSOUT 14,830
··· PAUSE 20
GOTO start
END

·· My Question is why 2 PAUSE Statements would not the code below do the samething and free up CPU usage?

start:
··· PULSOUT 15,700
··· PULSOUT 14,830
··· PAUSE 20
GOTO start
END

Comments

Sign In or Register to comment.