MSS / MAX44008

Dependents:   test_MAX44008 testSensor

Files at this revision

API Documentation at this revision

Comitter:
Rhyme
Date:
Tue Dec 22 06:02:58 2015 +0000
Parent:
0:7d913e68a6d7
Child:
2:e4631b2273f8
Commit message:
commit before publishing; basic functions have been tested, but not all the functions have not.

Changed in this revision

MAX44008.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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