/uCRC16BPBLib

Tiny and cross-device compatible CCITT CRC16 Bit Per Bit or Byte Per Byte calculator library - uCRC16BPBLib

Primary LanguageC++GNU Lesser General Public License v3.0LGPL-3.0

Tiny and cross-device compatible CCITT CRC16 Bit Per Bit or Byte Per Byte calculator library - uCRC16BPBLib

Master status: Build Status

What is this repository for?

Tiny and cross-device compatible CCITT CRC16 Bit Per Bit or Byte Per Byte 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:

  • uCRC16BPBLibObject->reset() : Resets internal state
  • uCRC16BPBLibObject->feedBit(bool) : Feeds a bit
  • uCRC16BPBLibObject->feedByte(char) : Feeds a byte
  • uCRC16BPBLibObject->getResult() : Gets CRC16 in a uint16_t

How do I get set up?

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

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