nope that clear the overrun error. If you want to clear the buffer, you need to read RCREG 'till RCIF flag is cleared.
Code:TempVar Var Byte RCIF var PIR1.5 WHILE RCIF TempVar = RCREG WEND
nope that clear the overrun error. If you want to clear the buffer, you need to read RCREG 'till RCIF flag is cleared.
Code:TempVar Var Byte RCIF var PIR1.5 WHILE RCIF TempVar = RCREG WEND
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks