Skip to content

Commit 6e8d8a2

Browse files
authored
Merge pull request #472 from tyeth/add-SHT41
Add SHT41
2 parents 7084552 + 324fabc commit 6e8d8a2

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
@@ -416,6 +416,7 @@ bool WipperSnapper_Component_I2C::initI2CDevice(
416416
drivers.push_back(_sen5x);
417417
WS_DEBUG_PRINTLN("SEN5X Initialized Successfully!");
418418
} else if ((strcmp("sht40", msgDeviceInitReq->i2c_device_name) == 0) ||
419+
(strcmp("sht41", msgDeviceInitReq->i2c_device_name) == 0) ||
419420
(strcmp("sht45", msgDeviceInitReq->i2c_device_name) == 0)) {
420421
_sht4x = new WipperSnapper_I2C_Driver_SHT4X(this->_i2c, i2cAddress);
421422
if (!_sht4x->begin()) {

0 commit comments

Comments
 (0)