Sending a word with serout!
Archiver
Posts: 46,084
Hello everyone!
I'm trying to send a word variable from one sxII to another using serout and
serin. Is there a problem with this? DO i need to convert the word into
bytes before they are sent serially?
Kevin
I'm trying to send a word variable from one sxII to another using serout and
serin. Is there a problem with this? DO i need to convert the word into
bytes before they are sent serially?
Kevin
Comments
If you define word variables you can send and receive using modifiers like
serout pin,baud,[noparse][[/noparse]wordvar.lowbyte,wordvar.highbyte]
serin pin,baud,timeout,label,[noparse][[/noparse]wordvar.lowbyte,wordvar.highbyte]
Regards peter
Oorspronkelijk bericht
Van: Kevin Fox [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ucs6arBgJhB-jTQKVrocamtOSHSud8_pfF4WrrM9ceuE6a7uK9fWqzPKFksPOk-VdDgImuTZUCNKeeY]jaguilu@h...[/url
Verzonden: zondag 11 november 2001 13:38
Aan: Basicstamps
Onderwerp: [noparse][[/noparse]basicstamps] Sending a word with serout!
Hello everyone!
I'm trying to send a word variable from one sxII to another using serout and
serin. Is there a problem with this? DO i need to convert the word into
bytes before they are sent serially?
Kevin
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/