#include <CRC7.h>
Public Member Functions | |
CRC7 () | |
unsigned char | CRC (unsigned char message[], unsigned char length) |
void void | init () |
The CRC7 class is used to Calculate CRC7 values. It used a prehashed table so it is pretty heavy on memory however it is lightening fast. With CRC computation it always a compromise between memory and speed.
When the Pololu Qik2s9v1 is in CRC mode it will expect a CRC for every command line it recieves.
CRC7::CRC7 | ( | ) |
unsigned char CRC7::CRC | ( | unsigned char | message[], | |
unsigned char | length | |||
) |
Call this to has a message.
void CRC7::init | ( | ) |
Initialises the CRC engine.