I have a Arduino Mega 2560 and a DS18D20
I can’t run this code, it gives me compilation error and it says
“OneWire does not name a type” and it points to this
OneWire ds(2); // on pin 2
The code is from this link.
Please if there is someone who could help me, Thanks.
DS18B20 for Arduino 1.0.zip (8.41 KB)