-->
Page 1 of 1

OneWire multibyte read

PostPosted: Wed Oct 19, 2016 6:37 am
by cwr
I've been trying to use the ow.read_bytes() function in the OneWire
module, reading from a DS18B20. Digging through ow.c and onewire.c
the C code matches code which I know works when called directly
from C on an Arduino, but which on the ESP8266 just returns a
string of 0xff bytes. Single reads work correctly in both cases.

Probably the solution is to build NodeMCU locally with additional
debugging statements, but before I do that I thought I'd ask if
anyone else had seen the problem.

Thanks - Will