Hi xnihilo,
I think the problem is about STR, i mean PBP doesn't work well (not a bit) with strings.
But, i have the same problem, SERIN2 freezes when i add a timeout and label of delay. This code doesn't work:
Code:
'**
'
'Purpose: How many delays do i have?
'
'**
myRX VAR PORTB.0
myVar VAR BYTE
data VAR BYTE
CALL OnScreen
loop:
SERIN2 myRX,396,100,delay,[wait ("N"),data]
GOTO loop
delay:
myVar=myVar+1
CALL OnScreen
RETURN
OnScreen:
lcdout $fe,1
lcdout #MyVar
RETURN
the code doesn't go to delay label.
Bookmarks