We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6aaf99 commit fccfd68Copy full SHA for fccfd68
src/MKRENV.cpp
@@ -103,6 +103,9 @@ void ENVClass::end()
103
// shutdown VEML6075
104
i2cWriteWord(VEML6075_ADDRESS, VEML6075_UV_CONF_REG, 0x0001);
105
106
+ // refresh the content of HTS221's internal registers via BOOT bit
107
+ i2cWrite(HTS221_ADDRESS, HTS221_CTRL2_REG, 0x80);
108
+
109
// disable HTS221
110
i2cWrite(HTS221_ADDRESS, HTS221_CTRL1_REG, 0x00);
111
0 commit comments