Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Latest commit

 

History

History
21 lines (16 loc) · 1.29 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.29 KB

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 [email protected].

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