urgent question regarding basic stamp 2 carrier board
Archiver
Posts: 46,084
Hi Jim,
Are you going from pc to BS2?? If you are using Java the COMMAPI classes
found at Sun's site are great for RS232 serial communication with the stamp.
You would get a com port object created on the pc and send your byte arrays
via it's interface. Then use serin to get the stream on BS2
As for C++ I would search on the web for libraries giving youa serial port
out a PC.
Tom
Are you going from pc to BS2?? If you are using Java the COMMAPI classes
found at Sun's site are great for RS232 serial communication with the stamp.
You would get a com port object created on the pc and send your byte arrays
via it's interface. Then use serin to get the stream on BS2
As for C++ I would search on the web for libraries giving youa serial port
out a PC.
Tom
Comments
Does anyone know if its possible to serially communicate between a
Visual C++ or Java program and a the basic stamp 2 sx (which is
inserted into the basic stamp carrier board )?
In the stamp docs, it says that serin and serout can only be used
for programming and not runtime serial communication with the stamp 2
carrier board.
What does that mean ? BEcause debug statements work with using
the stamp 2 carrier board - isn't that runtime serial communication ?
Thanks for any help,
JIm
through serial port via a program I wrote in Visual Basic.... The bs2 was
collecting information from two analog to digital converters and it ouput this
information as a comma deliminated string through its serial port. The serial
port was fed into a wireless rs-232 transciever where the information was
monitored in a friendly VB GUI that I designed on a laptop 100 yds away. This is
serial transmission at runtime at least as I know it... I used MSCOMM. Check
that control out at MSDN and maybe it will lead you to something you are trying
to do in VC++. The basic stamp can output serial information while it is
running. How come you want to use VC++? I would say use java or VB if
possible...
Good Luck!
-=Randy Knutson
jamesryfler wrote:Hi,
Does anyone know if its possible to serially communicate between a
Visual C++ or Java program and a the basic stamp 2 sx (which is
inserted into the basic stamp carrier board )?
In the stamp docs, it says that serin and serout can only be used
for programming and not runtime serial communication with the stamp 2
carrier board.
What does that mean ? BEcause debug statements work with using
the stamp 2 carrier board - isn't that runtime serial communication ?
Thanks for any help,
JIm
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and Body of
the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
[noparse][[/noparse]Non-text portions of this message have been removed]