ESP8266 HTU21D Driver (i2c Temp/Humidity)
Posted: Wed Mar 09, 2016 4:56 pm
For those of us that like to write directly in C:
https://github.com/MetalPhreak/ESP8266_HTU21D
HTU21D i2c Temp + Humidity sensor.
Code is currently CPU-blocking. It runs a delay, 50ms for temp measurement and 16ms for humidity measurement.
Was thinking of writing non-blocking option with callback to user function when measurement is ready. TBC.
https://github.com/MetalPhreak/ESP8266_HTU21D
HTU21D i2c Temp + Humidity sensor.
Code is currently CPU-blocking. It runs a delay, 50ms for temp measurement and 16ms for humidity measurement.
Was thinking of writing non-blocking option with callback to user function when measurement is ready. TBC.