ADD i2c dev
Fork of APDS_9960 by
Diff: glibr.h
- Revision:
- 2:ba051af6731a
- Parent:
- 0:1aac12a5f1e0
- Child:
- 3:b9d6e6788a37
--- a/glibr.h Thu Mar 12 21:12:45 2015 +0000 +++ b/glibr.h Mon Apr 27 02:05:49 2015 +0000 @@ -83,11 +83,11 @@ #define APDS9960_GVALID 0x01 /* On/Off definitions */ -#define OFF 0 -#define ON 1 +#define Off 0 +#define On 1 /* Acceptable parameters for setMode */ -#define POWER 0 +#define Power 0 #define AMBIENT_LIGHT 1 #define PROXIMITY 2 #define WAIT 3