|
@@ -372,7 +372,7 @@ static void tsl2561_task(void * pvParameter)
|
|
uint8_t id = read8(TSL2561_COMMAND_BIT | TSL2561_REGISTER_ID);
|
|
uint8_t id = read8(TSL2561_COMMAND_BIT | TSL2561_REGISTER_ID);
|
|
ESP_LOGI(TAG, "WHO_AM_I = %02X", id);
|
|
ESP_LOGI(TAG, "WHO_AM_I = %02X", id);
|
|
|
|
|
|
- setIntegrationTime(TSL2561_INTEGRATIONTIME_101MS);
|
|
|
|
|
|
+ setIntegrationTime(TSL2561_INTEGRATIONTIME_402MS);
|
|
setGain(TSL2561_GAIN_1X);
|
|
setGain(TSL2561_GAIN_1X);
|
|
|
|
|
|
// Do an initial delay to make the different tasks to work out of sync to each other (not send all data at same time)
|
|
// Do an initial delay to make the different tasks to work out of sync to each other (not send all data at same time)
|