1-wire Weather Station in Spin
bdickens
Posts: 110
Before I tackle the last part of this particular project, I figured it would be prudent to ask if someone has already "ported" the 1-wire weather station to Spin?
I'll probably start with the Jon Williams code on the forum and migrate using the last couple of posts but I figured I should ask.
Thanks
I'll probably start with the Jon Williams code on the forum and migrate using the last couple of posts but I figured I should ask.
Thanks
Comments
The weather station shouldn't be difficult to port.
My assembler is very rusty (anyone remember the SIM-1) but since I'm getting back in, the 1-wire assembly conversion might be fun (read: Frustrating).
Thanks
Only if you want to go that road yourself. I took the numbers from Dallas Semi (check with there 1-Wire FAEs when I lived in Dallas) and created a straightforward 1-Wire driver in PASM. Cam Thompson (from who I "liberated" PASM CRC code) has a version, too; I believe his allows for buss searches (mine doesn't).
My object (included in DS1820/22 demo):
-- http://obex.parallax.com/objects/491
Cam's object:
-- http://obex.parallax.com/objects/18