CTL_STATUS_t isl29023_set_resolution_bits(ISL29023_DRIVER_t *self,
                                          int bits);

Sets the resolution of the light sensor to at least bits bits. The valid resolutions for this sensor are 4, 8, 12, and 16 bits.

Return Value

isl29023_set_resolution_bits returns a standard status code.

Thread Safety

isl29023_set_resolution_bits is thread-safe if a mutex is associated with the I2C bus the sensor is attached to.