View Full Version : how does basic stamp read data?

11-19-2009, 06:10 PM

i have wrote a C++ program that send data to basic stamp via serial port. I have a couple of variables so send to basic stamp. May i know how does basic stampĚrecogniseĚthe variables? thank in advance.

11-19-2009, 07:57 PM
You will write a program for the Stamp to receive the serial data sent by the C++ program. The Stamp can be programmed to accomodate various baud rates and data lengths. The command also allows conversion to ASCII, HEX, DEC, etc as data is received. Any received data can be assigned to variables in the Stamp.

The implementation is straight-forward using specific commands ( SERIN ) but is not trivial since the Stamp has no data buffer and the capture of data must occur at the instant it is available at the input pin.

There is considerable information in the Help files associated with the Editor which is free to download. I believe the current revision is 2.4.2.


Tom Sisk