
Originally Posted by
ruijc
The only thing i could find in the manual was the Serin and Serin2 commands.
And you'll see the same 'type' of thing for HSERIN and DEBUGIN
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.
Now you're thinkin'! Except that it does know when to finish, because you specified when to finish in that line of code above with dec3 B0. As soon as it grabs a 3 digit decimal, the statement is done...
So in your case, you don't wait for a 13,10 then grab a decimal, flip it around.
Grab a decimal, then wait for the 13,10.
Code:
SERIN2 PORTA.1,84,[dec B0, wait (13,10)]
Bookmarks