Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
would anybody share his SPIN-Code reading multiple DS1820 1-Wire-devices - Page 2 — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
Propeller 1
would anybody share his SPIN-Code reading multiple DS1820 1-Wire-devices
«
1
2
»
Comments
StefanL38
Posts:
2,292
2015-02-28 14:26
edited 2015-02-28 14:26
Hi Chris,
thank you very much for sharing your code.
I adapted it for DS1820-devices
I adapted two lines of code
SetResolution(9) DecF((ReadTemp * 5), 10, 1)
as DS1820-sensors have only 9bit resolution and only 0.5°C precision
best regards
Stefan
«
1
2
»
Sign In
or
Register
to comment.
Comments
thank you very much for sharing your code.
I adapted it for DS1820-devices
I adapted two lines of code
as DS1820-sensors have only 9bit resolution and only 0.5°C precision
best regards
Stefan