I confirm, the sensor sends zero values (last three 0x00)
for the default 12-bit resolution of the humidity conversion it takes max 16 ms to finish. In my case I got 18ms, which is long enough to let the sensor complete its conversion.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I put a logic analyzer on the bus. After requesting humidity with
htu.getHumidity(function(h){console.log(h);})
, here is what I got on the bus:I confirm, the sensor sends zero values (last three 0x00)
for the default 12-bit resolution of the humidity conversion it takes max 16 ms to finish. In my case I got 18ms, which is long enough to let the sensor complete its conversion.