Put this in the "Ever" loop
RCSTA.4 = 0 : RCSTA.4 = 1
Put this in the "Ever" loop
RCSTA.4 = 0 : RCSTA.4 = 1
Dave
Always wear safety glasses while programming.
This is somehow what the define will do, except it will test if there's any error, if so it will clear them
from the .LIB
Code:ifdef HSER_CLROERR btfsc RCSTA, OERR ; Check for overflow error bcf RCSTA, CREN ; Toggle continuous receive to clear error bsf RCSTA, CREN endif
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks