Hi DeViLa_Q8,
Hard to answer as to what more you need, as you did not show us how you set up the hserin to work. As far as clearing the buffer goes, read it into another variable and then zero it before the next read.
example:
Code:
char var byte
dummy var byte
Main:
HSERIN char
info = char
char = 0
' . . . . do something with info . . LCDOUT #info ?
goto main
dear Joe S.
I'm working on this code using the new ideas and i hope it'll work anyway In case the idea was not that obvious
the first HSERIN will be like this,
HserIN [WAIT("OK"),TARGET]
IF TARGET ="A" THEN gosub check1
..........
after it'll compare the result then it'll perform subroutines attached to each target and in this subroutine there's another HSERIN which is,
check1:
HSERIN [X,Y,Z,M,N] ' analog
......
statements
.....
i traced my code it working great and i tested it on LCDs except the previous HSERIN result it's totally not correct.i hope it becomes clear now.
thanks for yr help,
Bookmarks