Do..Loop issue
sallym01
Posts: 2
My Basic Stamp 2 doesn't seem to process the loop command when I write DO...LOOP. The program only runs once. I saw in the book on p. 34 that this may indicate that I have a computer with a non-standard serial port design. Even when the programming cable is unplugged and I press reset, the program still doesn't loop. Any suggestions?
Comments
Welcome to the Parallax forum! Please post your entire program between [noparse] [/noparse] tags so we're better able to help you.
-Phil
' {$stamp bs2} (should have been all caps)
Thanks!
Also be aware that DO...LOOP is valid for PBASIC 2.5.
So, at the top of your code, there should be the following:
I do the same thing, but... sadly because I'm lazy! ;-)
@
-Phil
Even so I still have to double check behind the rodent because sometimes it points and clicks a little off target.