Home

Awesome

Note: This library is no longer maintained by Arduino and has therefore been archived. If you are interested in maintaining it, please write an email to support@arduino.cc.

Arduino_CRC32

Check Arduino status Compile Examples status Spell Check status

This Arduino library provides a simple interface to perform checksum calculations utilizing the CRC-32 algorithm. The C code for the CRC-32 algorithm was generated using PyCRC with the predefined crc-32 model.

Usage

#include <Arduino_CRC32.h>
/* ... */
Arduino_CRC32 crc32;
/* ... */
char const str[] = "Hello CRC32 ;)";
uint32_t const crc32_res = crc32.calc((uint8_t const *)str, strlen(str));