Skip to content

Instantly share code, notes, and snippets.

#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++;