/Modules/Sensors/ISL2902001A/SW/Arduino/i2c_light/i2c_light.pde
7,7 → 7,13
#define SENSE_VIS 0
#define SENSE_IR 1
 
#define LIGHT_AUTORANGE 0
#define LIGHT_RANGE1 1
#define LIGHT_RANGE2 2
#define LIGHT_RANGE3 3
#define LIGHT_RANGE4 4
 
 
void setup()
{
Wire.begin(); // join i2c bus (address optional for master)