Search found 1 match
- Mon Mar 20, 2017 8:22 am
- Forum: ESP8266 boards
- Topic: program stops when onewire device disconnects or fails
- Replies: 0
- Views: 1406
program stops when onewire device disconnects or fails
I have a number of DS18B20's connected over a long wire. Sometimes while logging, a read fails intermittently and there is a convert or read error which exits the program. Is there a way to catch these errors and substitute or return a 0 or similar value to represent an error and continue on without...