DS18B20 的CRC 算法详解 DS18B20数字温度器件就是采用CRC8的校验方式,下面是CVAVR集成的CRC8校验函数#include #include unsigned char a[]={0x28,0x6D,0x00,0x85,0x00,0x00,0x00,0xCF};unsigned char crc8;main(){ while(1) { crc8=w1_dow_crc8... 2023-06-13 CRC校验码DS18B20数字温度器文章单片机基础知识