Rev 2237 Rev 2238
Line 5... Line 5...
5   5  
6 #define address 0x44 // A0 = L 6 #define address 0x44 // A0 = L
7 #define SENSE_VIS 0 7 #define SENSE_VIS 0
8 #define SENSE_IR 1 8 #define SENSE_IR 1
9   9  
-   10 #define LIGHT_AUTORANGE 0
-   11 #define LIGHT_RANGE1 1
-   12 #define LIGHT_RANGE2 2
-   13 #define LIGHT_RANGE3 3
-   14 #define LIGHT_RANGE4 4
-   15  
10   16  
11 void setup() 17 void setup()
12 { 18 {
13 Wire.begin(); // join i2c bus (address optional for master) 19 Wire.begin(); // join i2c bus (address optional for master)
14 // I2C pins PD4, PD5 20 // I2C pins PD4, PD5