The only thing i could find in the manual was the Serin and Serin2 commands.
The manual says that:
SERIN2 DataPin {\FlowPin}, Mode, {ParityLabel,}, {Timeout,Label,} [Item...]
with the example:
Code:
SERIN2 1,16780,[wait (“A”),B0]
( where A is the caracter to wait for. )
and
[code]SERIN2 PORTA.1,84,[skip 2,dec4 B0][code]
( where it will skip the first 2 digits and grab the next 4 digits)
I didnt test it yet, but can i use something like this?
Code:
SERIN2 PORTA.1,84,[wait (13,10),dec3 B0]
Its not making sense to me because i have values with one, two or three digits ( temps from 0 to 160). The idea is to grab each value - and this line knows when to start for the first value but doesnt know when to finish before grabbing a new one.
Bookmarks