Hello everyone,
I've decided to start a new thread
regarding my 16F628 project problem
(solved thanks to Melanie)...
I have another question. Is there a way
to send/receive several consecutive
WORD sized variables over rs-232 (SW
USART) using single SEROUT2/SERIN2
command?
For example, can I send this using a
single SEROUT2 command:
SEROUT2 tx,16780,["ENTER T1",13,10]
SEROUT2 tx,16780,["ENTER T2",13,10]
SEROUT2 tx,16780,["ENTER T3",13,10]
SEROUT2 tx,16780,["ENTER T4",13,10]
SEROUT2 tx,16780,["ENTER T5",13,10]
I'm pretty sure I coud do it this way:
SEROUT2 tx,16780,["ENTER T1","T2","T3","T4","T5",13,10]
However, how can I receive and store 5
consecutive values to variables with
one SERIN2 command? I would
appreciate if someone could give a clue
as to what I should do to make this
happen.
Bookmarks