View Full Version : "stop"

03-01-2005, 08:24 AM
In PBASIC 2.5, when the STOP command is used, all of the I/O lines turn off and they can not be turned back on, right? Is there a command in PBASIC 2.5 that turns off all I/O lines but doesn't turn them off permanently? (I want to be able to turn the I/O lines on with another command later).



Unreal tournament 2004 rox

Jon Williams
03-01-2005, 08:29 AM
STOP simply halts the program, it does not affect the IO pins. You could make a copy of OUTS, suspend your program (you can't with STOP -- there is no way out of it short of a reset), then restore OUTS with your saved copy.

Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA