Shop OBEX P1 Docs P2 Docs Learn Events
Can't get StampPlot Lite to work on BS2. What do I do to get it working? — Parallax Forums

Can't get StampPlot Lite to work on BS2. What do I do to get it working?

po2lepo2le Posts: 76
edited 2008-01-07 01:10 in BASIC Stamp
I have a BS2 kit with Homework board, and "What's a Microcontroller" Manual.
My buzzer is on the test board and·connected·between BS2-pin 11 and VSS.

I downloaded StampPlot Lite v1.7, (standard user?), and I can't get it to work.· I used the following program from Parallax product info, software·download page:
____________________________________________________________________________________________
' {$STAMP BS2}
' {$PBASIC 2.5}


' Sample BASIC Stamp code to control a buzzer's frequency
' connected to P11.

Pause 1000

DEBUG CR,"!POBJ Clear",CR······················ 'Clear all objects
DEBUG "!PPER 80,100",CR························ 'Set plot percentage
DEBUG "!POBJ oHSlider.FREQ=83,76,,,0,5000,0",CR 'Create a slider object
··············································· 'called FREQ for 0-5000

FreqVAR VAR WORD······························· 'Hold returning value

Main:
· PAUSE 100

· DEBUG "!READ (FREQ)",CR ·················· 'Read StampPlot FREQ slider
· SERIN 16,84,1000,Timeout,[noparse][[/noparse]DEC FreqVar]···· 'Accept returning data

Timeout:
· FREQOUT 11,500,FreqVAR ················· 'Play frequency for 1/2 second

Goto Main


StampPlot window is active,(connect is checked, and Plot Data is checked),debug window is closed· I get: Can't open port; in use and Error that states: NO BASIC STAMP FOUND.· But stamp is activated.

Also, what is the difference between StampPlot Lite, and StampPlot Pro?· Are they both free downloads?



Post Edited (po2le) : 1/7/2008 1:09:48 AM GMT

Comments

Sign In or Register to comment.