Have you tried disabling the Timer1 interrupt to see if it responds to serial data?
Have you tried disabling the Timer1 interrupt to see if it responds to serial data?
If you're using v2.6 you may want to switch to SERIN2 or DEBUGIN. SERIN has known timing issues: http://melabs.com/support/pbpissues.htm
Yes. DEBUGIN should work fine. I would disable interrupts too. At least until you can get your serial input working.
> Serin PortB.7, N2400,["D33",get0]
With that statement, get0 is a qualifier.
I think you wanted that to be the variable that receives the data.
So it should be outside of the square brackets.
Serin PortB.7, N2400,["D33"],get0
DT
Bookmarks