esp32-tsl2561
ESP32-compatible C library for TSL2561 Light to Digital Converter.
|
Structure containing information related to the SMBus protocol. More...
#include <tsl2561.h>
Data Fields | |
bool | init |
True if struct has been initialised, otherwise false. | |
bool | powered |
True if the device has been powered up. | |
smbus_info_t * | smbus_info |
Pointer to associated SMBus info. | |
tsl2561_device_type_t | device_type |
Detected type of device (Chipscale vs T/FN/CL) | |
tsl2561_integration_time_t | integration_time |
Current integration time for measurements. | |
tsl2561_gain_t | gain |
Current gain for measurements. | |
Structure containing information related to the SMBus protocol.