Stamplot not ploting
Andre Smalling
Posts: 2
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
' {$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
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
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
·
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
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