Hi,

Just look at programs for DS1820 ...

or compare the " Operation measuring temp " chapters of DS18B20 and DS18S20

You will find a correct program for DS1820 in The Parallax Stamp applications ...

Alain