Hi !
I played around with an Arduino Nano and two Ds18b20 sensors. Until I recognized that I can't choose a resolution anymore. It's always 12-bit.
To make sure that it is not a fault in my sketch, I use the example / Dallas Temperature / Multiple. But whatever resolution I choose, I always get 12-bit which is the standard resolution.
How can I reset the SRAM scratchpad and EEPROM storage in a Ds18b20 ? Is there a sketch for that ?
Why do you want to lower the resolution. Speed?
For printing/displaying, you can always ignore some or all decimal digits.
Serial.print(temp, 1); // display with one decimal place
Leo..
Hi Leo, yes thank you I read that. But with that I only change what will be printed. The sensor is running still with 12-bit resolution. I want to change properly the resolution setting. Or do I get here something totally wrong ?