From what I read the serin & serin2 will not timeout if the input pin is high or toggling.
My data line is normally low and no noise that I can see on a scope.
I only need to transfer a byte or 2 of data and I am using an "A" to sync.
I have attempted T2400, N2400, OT2400, ON2400. I have tried both serin & serin2.
SerIn PORTB.1,T2400,["A"],M ' Works until data stops then hangs
'serin2 PORTB.1,t2400,2000,Test2,[wait("A"),M] ' hangs
I can't fit external gates, so I need a software solution. Right now I can only use the WDT to recover.
Am I mis-understanding Serin?
Any recommendations?
Thanks
Bookmarks