Shop OBEX P1 Docs P2 Docs Learn Events
SEROUT - SERIN Question — Parallax Forums

SEROUT - SERIN Question

ArchiverArchiver Posts: 46,084
edited 2004-01-23 03:10 in General Discussion
Hi,
I'm trying to communicate between two BS2 stamps. I have a WORD
variable in one side and am trying to send it to the other other
stamp.

Stamp1:
Test1 VAR Word
Test1 = 65000
SEROUT 1\0 16468 [noparse][[/noparse]Test1]

Stamp2:
Test2 VAR Word
SERIN 1\0 16468 [noparse][[/noparse]Test2]
DEBUG DEC Test2


I don't get 65000 popping up in Stamp2's debug window. I tried
formatting the output and input using BIN16, DEC5, etc but it didn't
work. I used the Demo program in the book to send "HELLO" and it
worked fine. Do I have to manually break the word I want to send into
bytes?

Eric

Comments

Sign In or Register to comment.