Dave! You nailed it. I don't know how you remember/find all these links!!
I changed the Uart interrupt to this, and it now works:
Code:
'======================
RDRINT: 'TAG READER INTERRUPT!
'======================
HSERIN [WAIT($02),STR TAG\8\$03] 'READ TAG FROM THIS PORT (WORKS)
SEROUT2 DIAGOUT,MODE,[STR TAG,10,13] 'SEND TAG DATA TO THIS PORT (WORKS)
While PIR1.5 = 1 ; clear the buffer
HSERIN [X]
Wend
@ INT_RETURN ; <=== NOW WORKING :-)
I want to really look up what that is doing now, and write a note or two. THANK YOU.
Len
Bookmarks