Closed kakaducsy closed 6 years ago
I fixed :+1: edit lib ms8607.cpp at function :
ms8607::hsensor_humidity_conversion_and_read_adc
add function delay
if (hsensor_i2c_master_mode == ms8607_i2c_hold) { Wire.write(HSENSOR_READ_HUMIDITY_W_HOLD_COMMAND); i2c_status = Wire.endTransmission(); delay(hsensor_conversion_time); } else { Wire.write(HSENSOR_READ_HUMIDITY_WO_HOLD_COMMAND); i2c_status = Wire.endTransmission(); // delay depending on resolution delay(hsensor_conversion_time); }
ESP8266 node mcu read
And arduino uno read
at the same time, at the hardware --> different reading values Special :
And