ESPHome  2024.4.1
Data Structures | Enumerations
esphome::tsl2561 Namespace Reference

Data Structures

class  TSL2561Sensor
 This class includes support for the TSL2561 i2c ambient light sensor. More...
 

Enumerations

enum  TSL2561IntegrationTime { TSL2561_INTEGRATION_14MS = 0b00, TSL2561_INTEGRATION_101MS = 0b01, TSL2561_INTEGRATION_402MS = 0b10 }
 Enum listing all conversion/integration time settings for the TSL2561. More...
 
enum  TSL2561Gain { TSL2561_GAIN_1X = 0, TSL2561_GAIN_16X = 1 }
 Enum listing all gain settings for the TSL2561. More...
 

Enumeration Type Documentation

◆ TSL2561Gain

Enum listing all gain settings for the TSL2561.

Higher values are better for low light situations, but can increase noise.

Enumerator
TSL2561_GAIN_1X 
TSL2561_GAIN_16X 

Definition at line 24 of file tsl2561.h.

◆ TSL2561IntegrationTime

Enum listing all conversion/integration time settings for the TSL2561.

Higher values mean more accurate results, but will take more energy/more time.

Enumerator
TSL2561_INTEGRATION_14MS 
TSL2561_INTEGRATION_101MS 
TSL2561_INTEGRATION_402MS 

Definition at line 14 of file tsl2561.h.