From e11c95b2c88e8840b6617e13ac60055524ec8e36 Mon Sep 17 00:00:00 2001 From: Gianmarco727 <59204841+Gianmarco727@users.noreply.github.com> Date: Mon, 8 May 2023 16:21:22 +0300 Subject: [PATCH] Cicerone MKR board fix Introducing the delay fixes the humidity sensor calibration problems that the Cicerone MKR board faces when paired with MKR ENV R2 shield. --- src/MKRENV.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MKRENV.cpp b/src/MKRENV.cpp index 8e5bc42..703c103 100644 --- a/src/MKRENV.cpp +++ b/src/MKRENV.cpp @@ -82,7 +82,9 @@ int ENVClass::begin() if (i2cReadWord(VEML6075_ADDRESS, VEML6075_ID_REG) != 0x0026) { _isv2 = true; } - + + delay(1); + readHTS221Calibration(); // turn on the HTS221 and enable Block Data Update