JohnB,
I'm away from my hardware so I can't test your code. However it appears you have not initialized CRC before you test the first byte. Add CRC=0 right after your Main: label before you start to submit bytes to the routine. If that doesn't fix it let me know and when I get home I'll test your software.
Tom Estes




Bookmarks