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 79d20e1 commit c52cb53Copy full SHA for c52cb53
src/SparkFun_VEML7700_Arduino_Library.cpp
@@ -67,7 +67,7 @@ bool VEML7700::begin(TwoWire &wirePort)
67
_configurationRegister.CONFIG_REG_SD = VEML7700_POWER_ON;
68
_configurationRegister.CONFIG_REG_INT_EN = VEML7700_INT_DISABLE;
69
_configurationRegister.CONFIG_REG_PERS = VEML7700_PERSISTENCE_1;
70
- _configurationRegister.CONFIG_REG_IT = VEML7700_INTEGRATION_100ms;
+ _configurationRegister.CONFIG_REG_IT = (VEML7700_t)integrationTimeConfig(VEML7700_INTEGRATION_100ms);
71
_configurationRegister.CONFIG_REG_SM = VEML7700_SENSITIVITY_x1;
72
73
err = writeI2CRegister(_configurationRegister.all, VEML7700_CONFIGURATION_REGISTER);
0 commit comments