-
Hi @Gordon,
maybe there is a misunderstanding because I did not explain it well.
This is your code that ignores the CRC in recovering \ convert the temperature from the device.
What is not 100% clear to me is what piece of "my code" should be merged with this one kindly suggested by you.
Until now, I have used the "hello world" example that is shown in the DS18B20 sensor page (http://www.espruino.com/DS18B20)
Alternatively, I have tried the OneWire code example to send raw commands to the device (retrieved from the relevant page: http://www.espruino.com/OneWire)Could you please clarify which of the two "pieces" should I use?
Thanks in advance for your feedback...
This one: http://forum.espruino.com/conversations/309292/#13811723