Serin serout
I'm not familiar with a "developer kit"(?). Can you be a little
more specific about "doesnt seem to work"?
If your transmitting Stamp sends "455" in text and the receiving
Stamp receives the text successfully, the receiving Stamp can't store
that big a value in a byte variable (max = 255).
Most of the Parallax carrier boards with the (white) breadboard are
designed and intended to connect components to a Stamp in the black
socket. A second Stamp wouldn't normally go in the breadboard.
Regards,
Steve
more specific about "doesnt seem to work"?
If your transmitting Stamp sends "455" in text and the receiving
Stamp receives the text successfully, the receiving Stamp can't store
that big a value in a byte variable (max = 255).
Most of the Parallax carrier boards with the (white) breadboard are
designed and intended to connect components to a Stamp in the black
socket. A second Stamp wouldn't normally go in the breadboard.
Regards,
Steve
Comments
build a serial communication .
pls lemme know if i have this thing straight .
i have the basic stamps developer kit . i first
program a bs2 stamp ( sender )by putting it in the
slot which is connected to the rs232 cable :
Loop:
serout 1\0,16468,[noparse][[/noparse]dec 455] ' serout decimel 455
pause 2500
goto loop
i download this program by ctrl R into the bs2 and
then remove this chip ( physically ) from this slot
and put it into the other vacant slot ( the white slot
on the developer kit )
then i put the other bs2 stamp ( reciever ) in the
slot where the rs 232 cable comes into . i program
that as
x var byte
loop
serin 1\0,16468,[noparse][[/noparse]dec x]
debug x
pause 1000
goto loop
i have P1 connected to P1 . also P0 connected to
ground .
this doesnt seem to work . am i right in understanding
that the sender chip has to be physically moved as
such. do i need to have a 10 k resistor as the book
suggests between P0 and ground ?
pls help
thanks
ronals
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
The pull-down resistor is not the same as grounding the pin. With P0
grounded all the time, the flow control will never work (see the
explanation of the Fpin usage on page 303 of the Stamp Manual).
You're most of the way there!
Mike
At 09:29 AM 4/30/2001 -0700, you wrote:
>i have P1 connected to P1 . also P0 connected to
>ground .
>
>this doesnt seem to work . am i right in understanding
>that the sender chip has to be physically moved as
>such. do i need to have a 10 k resistor as the book
>suggests between P0 and ground ?
>
>pls help
>
>thanks
>ronals
_________________________________
Mike Walsh
walsh@i...