]> the.earth.li Git - temper-clone.git/commit - main.c
Add initial temperature reading via DS18B20 device
authorJonathan McDowell <noodles@earth.li>
Thu, 3 May 2018 21:39:27 +0000 (22:39 +0100)
committerJonathan McDowell <noodles@earth.li>
Thu, 3 May 2018 21:39:27 +0000 (22:39 +0100)
commit97e6ede6c1e3556ec66f11ad66c6ba7c36885423
treec2783cb620ca789ed0beb1a9ac5b1e6dd1216eca
parent0949ba3935c9c2ec778adc94eb25cdd65e3cba4e
Add initial temperature reading via DS18B20 device

Actually plumb the 1-Wire support into the temperature query and
use an attached DS18B20 to retrieve the current temperature. This
*mostly* works with the existing TEMPer clients but there are
occasional USB issues, I think due to timing on the 1-Wire delays
affecting USB responses.
main.c