Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4748

DS18B20-Resolution change. How?

$
0
0
How can we change the resolution of the DS18B20?

I tried this in vein:

Code:

OWOut DQ, 0, [$CC,$4E, $00,$00,$3F]' set to 10bits
owout DQ,0,[$BE]
OWIN DQ, 0, [STR ID\9]

It returns only $FF, like there is no device connected.

The DS18B20 is confirmed to work OK.

Ioannis

Viewing all articles
Browse latest Browse all 4748

Trending Articles