Very Basic Basic Stamp question
Skedwards
Posts: 2
Hello all,
I've just taken over a project which uses a stamp BS2P to control a variety of mechanical components of a hydroponics system (e.g. lights, air, water, feed, etc.). Everything works well except for the debug terminal. I can't get anything to appear in the debug terminal. I've even tried running extremely simple code e.g.
' {$STAMP BS2p}
' {$PBASIC 2.5}
DEBUG "Hello", CR
END
and this fails to give an output. The previous tech left no info on circuit board layout so I'm flying blind and interpreting what I can from the code. Is there any reason the debug command isn't working for such a simple code like I copied above? I've never worked with basic stamp before so any suggestions would be appreciated.
Thanks much,
S
I've just taken over a project which uses a stamp BS2P to control a variety of mechanical components of a hydroponics system (e.g. lights, air, water, feed, etc.). Everything works well except for the debug terminal. I can't get anything to appear in the debug terminal. I've even tried running extremely simple code e.g.
' {$STAMP BS2p}
' {$PBASIC 2.5}
DEBUG "Hello", CR
END
and this fails to give an output. The previous tech left no info on circuit board layout so I'm flying blind and interpreting what I can from the code. Is there any reason the debug command isn't working for such a simple code like I copied above? I've never worked with basic stamp before so any suggestions would be appreciated.
Thanks much,
S
Comments
S,
It seems like your simple program should work; the code looks alright. I think I would check to see whether the stamp is installed on the BOE correctly (Is it plugged in "upside down"?) and that you have good adapter connections into your computer and BOE. Be very careful not to bend the stamp pins when you take the stamp out and put it back in. Do you have any wires plugged in the breadboard? Are you sure you have power going to the BOE?
Mark - ARLISS Team New Hampshire