humidity: Make humidity measurement initialisation more robust
authorPhilip Withnall <philip@tecnocode.co.uk>
Sun, 9 Dec 2012 00:19:25 +0000 (00:19 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sun, 9 Dec 2012 00:19:25 +0000 (00:19 +0000)
commit51d12f9f4077eed9433dbbdc5d3dca617e7af87c
treea7ce1283467356d8353467bf2b37044a1aec2650
parent194bbf5c83a78f1d7f30874ac346aa327f704715
humidity: Make humidity measurement initialisation more robust

The RHT03 has problems in synchronising with the â€˜start’ signal sent by the
microcontroller if the RHT03 has previously been power gated. The changes in
this commit go some way to improving this, but unfortunately the only
reliable solution seems to be to not gate power to the RHT03 in the first
place. Sigh. At least its current consumption is only 3mA.
humidity.c