Hi
I'm making measurements of temperatures with my Netduino plus 2 and DS18B20. I'm using OneWire but every one DS18B20 is connected to separate GPIO on Netduino board.
I'm creating each DS18B20 using code:
DS18B20 sonda0 = new DS18B20(Pins.GPIO_PIN_D0);
When on PIN D0 is no DS18B20 connected then program throw "No DS18B20 devices found on OneWire bus" and stops. How to make it to continue working without this PIN where no DS18B20 was found? I want to write code once and make it working on all my Netduino plus 2 without giving which PINs are connected and which aren't?