How can we change the default resolution i.e.,12 bit to different resolution.
I know the 4th byte of the scratchpad memory contains the resolution part of the device but I am not able to know how to change it.
How can we change the default resolution i.e.,12 bit to different resolution.
I know the 4th byte of the scratchpad memory contains the resolution part of the device but I am not able to know how to change it.
Hi,
I have some code in this repo you can try. Use the function ds18b20_setResolution() to set the resolution to either 12, 11, 10 or 9 bit.
Thanks I'll try
What does the DS18B20 datasheet tell you?
Note that the DS18B20 is a Maxim product - nothing to do with Nordic - so you need to go to Maxim for help with it.