MAX44008 RGB Color, Infrared, and Temperature Sensor

Dependents:   test_MAX44008 testSensor

Revision:
1:45b23a5fff8e
Parent:
0:7d913e68a6d7
Child:
2:e4631b2273f8
--- a/MAX44008.cpp	Tue Dec 22 05:44:07 2015 +0000
+++ b/MAX44008.cpp	Tue Dec 22 06:02:58 2015 +0000
@@ -43,6 +43,7 @@
 #define REG_TRIM_GAIN_BLU     0x20
 #define REG_TRIM_GAIN_IR      0x21
 
+#if 0
 /* Operation Mode */
 #define MODE_CLEAR            0x00
 #define MODE_CLEAR_IR         0x01
@@ -53,6 +54,7 @@
 #define AMB_INT_GREEN         0x01
 #define AMB_INT_IR            0x02
 #define AMB_INT_TEMP          0x03
+#endif 
 
  MAX44008::MAX44008(PinName sda, PinName scl, int addr) : m_i2c(sda, scl), m_addr(addr<<1) {
     // activate the peripheral