Shop OBEX P1 Docs P2 Docs Learn Events
Stamplot not ploting — Parallax Forums

Stamplot not ploting

Andre SmallingAndre Smalling Posts: 2
edited 2009-09-28 18:03 in BASIC Stamp
I need to plot this using stamplot

' {$STAMP BS2}
' {$PBASIC 2.5}
' What's a Microcontroller - TestPhotoresistor.bs2
' Read photoresistor in RC-time circuit using RCTIME command.
time VAR Word
DO
HIGH 2
PAUSE 100
RCTIME 2, 1, time
DEBUG HOME, "time = ", DEC5 time
·· DEBUG DEC time, CR
LOOP

Post Edited (Andre Smalling) : 9/25/2009 7:01:19 PM GMT

Comments

  • JDJD Posts: 570
    edited 2009-09-25 18:56
    Andre,

    Please include a subject in the subject line as to allow other uses to see what it is you are looking for. You can use the pencil icon to edit your message.

    Thank you

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Respectfully,


    Joshua Donelson
    www.parallax.com
  • stamptrolstamptrol Posts: 1,731
    edited 2009-09-25 18:57
    Hi Andre,

    Welcome to the forums.

    To get the most help, always use a Subject. You can go back to your original post and use the pencil icon in the top right to edit it.

    Secondly, you have to tell us what you've already tried. The Stampplot takes in data in a standard format by using the serial commands ( SEROUT or DEBUG).

    When you hook it up, what's not working?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tom Sisk

    http://www.siskconsult.com
    ·
  • Andre SmallingAndre Smalling Posts: 2
    edited 2009-09-25 20:45
    Sorry tom it is just a frastrating day. If you look at the code you will see what the code does. The data is getting to stamplot only that it is not ploting . However if you click the message button in stamplot you can see the data. Thank you
  • JDJD Posts: 570
    edited 2009-09-25 23:26
    Andre,

    I was playing around within Stamp Plot, and it seems that you can send a simple DEBUG and it will work, so my apologies I have always used a few commands to configure Stamp Plot to the scale needed and so on. I tried the code below on a USB and Serial version of the BOE and it seems to plot. Also tried it on Vista and XP with sucess.

    Here is a quick sample to get you started. I hope this helps.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Respectfully,


    Joshua Donelson
    www.parallax.com

    Post Edited (Joshua Donelson (Parallax)) : 9/26/2009 2:49:38 AM GMT
  • JDJD Posts: 570
    edited 2009-09-28 18:03
    Andre,

    What COM port are you trying to use with StampPlot? For example, COM3 or COM20. Anything higher than COM15 is not supported by StampPlot. If the device you are using is higher than 15 you can go into the Device Manager and change it manually to a lower COM port; then you will be able to select the correct COM setting in the StampPlot configuration window.

    Also, did you get the sample code working?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Respectfully,


    Joshua Donelson
    www.parallax.com
Sign In or Register to comment.