crc8_interface

In support of my previous post on the CRC8 checksum. I compiled this basic program to provide a real-world implementation.

The example uses a potential serial communication protocol that consists of a START and END deliminter using GREATER-THAN and LESS-THAN symbols. The first two bytes L1 and L0 indicate the length of the payload (Command Byte plus Data Bytes).

The example uses your entered CMD byte and the entered payload value to determine your resultant CRC. Basic single-use programs like this are instrumental when developing a larger system.

download
Download the code on GitHub.

Leave a Reply

Your email address will not be published. Required fields are marked *