DS18S20 code sample wanted
stamptrol
Posts: 1,731
·Hello folks,
··· I'm changing a temperature monitoring system from the DS1620 (3 wire shiftin/shiftout) to the DS18S20 (1-wire).
··· I'm using the BS2px with 1-wire support.
··· I know I've seen a sample piece of code somewhere, just can't find it!
··· Can anyone point me in the right direction?
·Thanks,
·Tom
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
··· I'm changing a temperature monitoring system from the DS1620 (3 wire shiftin/shiftout) to the DS18S20 (1-wire).
··· I'm using the BS2px with 1-wire support.
··· I know I've seen a sample piece of code somewhere, just can't find it!
··· Can anyone point me in the right direction?
·Thanks,
·Tom
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
Comments
http://forums.parallax.com/showthread.php?p=642254
phil
Post Edited (phil kenny) : 12/17/2007 2:40:24 PM GMT
Thanks for that! It should work just fine.
Regards,
Tom
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
I had noticed the 9-bit vs 12-bit issue.
I got the code working with the ds1820 after finding a damaged ds18s20.
Regards,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·