Newbee Editor Question: How do you get a program to run?
1234ekna
Posts: 9
I loaded a program that I got from the web into the editor, and I can not get it to run. After connecting the board (a Super Carrier using a BS2sx) to the USB port and hitting "Run", a window pops showing up showing the connection and letting me know that the source code was successfully tokenized, but nothing happens.
This is the first time I am using the Editor, and my question is: how do you get a program to run and what should I expect to see when it does so? I looked in the manual, but could not find any instructions in this regard.
Also, where can I find the info on how to use the Editor and Debugger?
This is the first time I am using the Editor, and my question is: how do you get a program to run and what should I expect to see when it does so? I looked in the manual, but could not find any instructions in this regard.
Also, where can I find the info on how to use the Editor and Debugger?
Comments
A DEBUG screen should open automatically if you have DEBUG statements in your program. Of course you can manually click on the top menu icons to manually open a (or expand a minimized) DEBUG window.
http://www.parallax.com/Portals/0/Downloads/docs/prod/appmod/29121-LcdAppMod-v1.2.pdf
It contains a program that uses the Parallax LCD Terminal AppMod (Obsolete Part) with a BASIC STAMP Super Carrier equiped with a BS2sx.
erco - The Editing program was downloaded a few days ago, the Carrier is powered by a 9V DC supply. I am using the Parallax USB to 232 adapter, and since the Editor indicated that it found a connection on my serial port and downloaded the program, I assume that the cord is OK. All the parts are brand new, and have never been used before.
I have to try to see if DEBUG works and insert some DEBUG (print) statements.
END
BTW The reason that I suspected that the program was not running was that it never asked me what kind of processor I was using as was supposed to if the program was running as intended. I never suspected that I could not use the program as is.
UPDATE - Since I do not intend to use any other STAMP type than the BS2sx, I modified the program by taking out the CASE Statements and the DATA statements pertaining to other STAMP types, but left the references to the BS2sx chip where ever they appeared. The program runs now as intended.
Thanks fellows!