Fix CRC16 path (#424)

This commit is contained in:
iranl
2024-07-15 13:20:52 +02:00
committed by GitHub
parent 39c55a730a
commit 8e5e47b102
4 changed files with 0 additions and 0 deletions

19
lib/CRC16/readme.md Normal file
View File

@@ -0,0 +1,19 @@
# Crc16 A simple crc-16 library for Arduino
## Description
Use this library to implement crc checks on buffer arrays
## Usage
There are two modes to calculate crc: incremental and single call:
* In first mode the crc is calculated adding data bytes one by one and then calculating final crc, this is useful
for reception routines that receives bytes asynchrously,
* The second mode is used to obtain crc from a buffer array.
Using one mode doesn't interfere with the other (So you can calculate tx crc while receiving data and updating rx crc)
Is possible to configure crc with all crc-16bit standards (by default is defined XModem).
See possible crc variants:
http://www.lammertbies.nl/comm/info/crc-calculation.html