Thank you Jerson.
I had this error in the above routine that collects the pulse train from the receiver module.
Now works remarkably ok. No problem with the decoding. Also works fine.
Ioannis
P.S. Yes I do have this AN and others too. Have also the Keeloq Dev.Kit from Microchip but the C routines are not easy for me. Anyway did help a lot.
Bookmarks