Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 501 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 501 Bytes

Arduino_CRC32

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));