4 #define TSL_GAIN16 0x10
\r
5 #define TSL_GAIN1 0x00
\r
6 #define TSL_INT_TIME1 0x00
\r
7 #define TSL_INT_TIME2 0x01
\r
8 #define TSL_INT_TIME3 0x02
\r
10 void TSL256x_init();
\r
11 void TSL256x_setup(uint8_t conf);
\r
12 uint16_t TSL256x_Ch(uint8_t ch);
\r
13 uint32_t CalculateLux(unsigned int iGain, unsigned int tInt, unsigned int ch0, unsigned int ch1);
\r
15 uint16_t TSL256x_Lux();
\r