Problem
I am writing code for an embedded device. A lot of solutions out there for CRC-CCITT 16-bit calculations require libraries.
Given that u
The original function, checkCRC, can also do "CRC-CCITT (XModem)".
checkCRC
Just set:
poly = 0x1021 reg = 0
Instead of
poly = 0x11021 reg = 0xFFFF