Sean Breheny wrote: > Hi all, > > Does anyone have some (or have a link to some) 8 bit CRC code in C? I > can only find 16 bit and 32 bit. Here's a routine I wrote for the Dallas' 8-bit CRC: http://www.dattalo.com/technical/software/pic/crc_8bit.c You can find the assembly version (if you're interested) here: http://www.dattalo.com/technical/software/pic/crc.php There is also the C-implementation of the SAE 8-bit CRC: http://obddiagnostics.com/obdinfo/CRC.txt I also have an efficient (assembly) implementation of that too. Scott -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist