Skip to content

Repository files navigation

Arduino IDE based CCITT CRC16 calculator - uCRC16Lib

Master status: Build Status

What is this repository for?

Tiny and cross-device compatible CCITT CRC16 calculation.

Supports any microcontroller.

Usage

This library is used with only static methods, you don't need to (and can't) initialize any class object.

You have these methods:

  • uCRC16Lib::calculate(char * data_to_be_encoded, uint16_t size); : Returns CRC16 in a uint16_t
  • uCRC16Lib::crc_ok : uint16_t with CRC16 value of "T 0xD9 0xE4" (without spaces)

How do I get set up?

You can get it from Arduino libraries directly, searching by uCRC16Lib.

For manual installation:

Examples

Included on example folder, available on Arduino IDE.

Who do I talk to?

Contribute

Any code contribution, report or comment are always welcome. Don't hesitate to use GitHub for that.

Thanks for your support.

Contributors hall of fame: https://www.foroelectro.net/hall-of-fame-f32/contributors-contribuyentes-t271.html

About

Tiny and cross-device compatible CCITT CRC16 calculator library - uCRC16Lib

Topics

Resources

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages