Shop OBEX P1 Docs P2 Docs Learn Events
Getting an input display — Parallax Forums

Getting an input display

ADPADP Posts: 15
edited 2004-11-13 03:30 in BASIC Stamp
Hi,
How can i view my output from BS2 given an input (for example a square wave)?? I have downloaded a program already on the BS2 but want to be able to see what my output looks like given an input, at any point?? Is there any software or a program i need to download on my PC?
Thanks

Comments

  • KenLemKenLem Posts: 94
    edited 2004-11-12 20:26
    Check out the DEBUG instruction.· It sends information back to the PC during execution.


    loop:
    ·· debug "looping..."
    goto loop

    would print out looping continually.

    Good luck.

    Ken
    www.speechchips.com
    ·
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-11-12 20:30
    Be careful not to use PBASIC keywords as labels.· Try it this way:

    Main:
    · DEBUG "Looping", CR
    · PAUSE 200
    · GOTO Main

    "LOOP" is a PBASIC 2.5 keyword.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • KenLemKenLem Posts: 94
    edited 2004-11-13 03:20
    Whoops!

    Not sure I answered the original posters question either.· He seems like he wants some sort of display and not just a debug statement.·

    You could always use a serial LCD display but they are sort of expensive (~$45).· I just hook my Basic Stamp up to a small tv I have on my desktop and display debug information on that. It also lets me draw bitmapped graphics.

    Ken
    www.speechchips.com
  • El PaisaEl Paisa Posts: 375
    edited 2004-11-13 03:30
    Look like you need a program StampPlotV3.
    Go to www.stampplot.com
Sign In or Register to comment.