forked from winkj/arduino-sht
-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
Description
Hi,
I have used this library with a Sensirion sensor without success. There is a initialization issue with the sensor.
Since the clock stretching has been disabled a delay has been added between the sensor measurement request and the measurement readout.
The current implemantation ignores this delay and send a I2C restart between the measurement request and the readout.
I propose to replace this:
Line 70 in ed9485c
if (Wire.endTransmission(false) != 0) { |
by:
if (Wire.endTransmission() != 0) {
Thank you and best regards.
TechnicalLee