Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4745

ds18b20 and CRC check

$
0
0
Good day to all of you in the forum.
I wrote a picbasic code that allows me to read the temperature from about nine DS18B20 sensors. I just read the temperature from the 18b20 but I do not read the crc and I do not check it for data integrity.
The programs works well and I get valid data from all the connected sensors.
I would like to implement CRC check in my program and I need some help.
> What data should I read from the sensor and how could I compute the CRC and compare it for integrity data check ?
Thanks in advance for any help.
Regards,
Ambrogio

Viewing all articles
Browse latest Browse all 4745

Trending Articles