Skip to content

Commit 324fabc

Browse files
committed
Add SHT41
1 parent c44beb9 commit 324fabc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/i2c/WipperSnapper_I2C.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ bool WipperSnapper_Component_I2C::initI2CDevice(
415415
drivers.push_back(_sen5x);
416416
WS_DEBUG_PRINTLN("SEN5X Initialized Successfully!");
417417
} else if ((strcmp("sht40", msgDeviceInitReq->i2c_device_name) == 0) ||
418+
(strcmp("sht41", msgDeviceInitReq->i2c_device_name) == 0) ||
418419
(strcmp("sht45", msgDeviceInitReq->i2c_device_name) == 0)) {
419420
_sht4x = new WipperSnapper_I2C_Driver_SHT4X(this->_i2c, i2cAddress);
420421
if (!_sht4x->begin()) {

0 commit comments

Comments
 (0)