This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "TinyRF.h" | |
//CRC-8 - based on the CRC8 formulas by Dallas/Maxim | |
//code released under the therms of the GNU GPL 3.0 license | |
byte crc8(byte data[], uint8_t len){ | |
byte crc = 0x00; | |
while (len--) | |
{ | |
byte extract = *data++; |