µracoli Manual
Version foo
|
Measuring ambient light intensity.
|
static |
return raw adc reading (valid flag, log compressed value)
|
static |
derived from app note dn9b_tsl2550_lux_calculation.pdf
#define TSL2550_ADDR (0x39) |
#define TSL2550_EXT_RANGE (0x1D) |
Write command to assert extended range mode
#define TSL2550_PWR_DOWN (0x00) |
#define TSL2550_RD_CMD (0x03) |
Power-up state/Read command register
#define TSL2550_STD_RANGE (0x18) |
Write command to reset or return to standard range mode