Shop OBEX P1 Docs P2 Docs Learn Events
/dev/bstamp and debugin — Parallax Forums

/dev/bstamp and debugin

K-BoneK-Bone Posts: 1
edited 2006-07-23 02:06 in BASIC Stamp
I am using Linux and a basic "homework board" and have a question about debugin and I/O. If I use the enclosed example program; the only way I can get an integer number passed to InVar is to open a new terminal and type "echo 3 > /dev/bstamp". Is this the only way to pass data to the debugin function? Am I missing somethign? Or do I just not have my box setup correctly. I am pretty green at this and could use a bit of learnin'.
K-Bone

1 '{$STAMP BS2}
2 '{$PBASIC 2.5}
3 InVar VAR WORD
4 DEBUG "Hello world", CR
5 DEBUGIN DEC InVar
6 DEBUG ? InVar
7 END
Sign In or Register to comment.