CM3592 simple library

Dependents:   Mt05_MtSense05

Revision:
1:8547ec72dba2
Parent:
0:a434d2ca0357
--- a/CM3592.h	Tue Jun 06 01:56:14 2017 +0000
+++ b/CM3592.h	Fri Apr 27 09:58:04 2018 +0000
@@ -6,10 +6,10 @@
 #define CM3592_REG_CTRL                 0x00
 #define CM3592_REG_ALS_HIGH_THRESHOLD   0x02
 #define CM3592_REG_ALS_LOW_THRESHOLD    0x03
-#define CM3592_REG_UV_DATA              0x04
-#define CM3592_REG_IR_DATA              0x05
-#define CM3592_REG_ALS_DATA             0x08
-#define CM3592_REG_WHITE_ALS_DATA       0x09
+#define CM3592_REG_UV_DATA              0x06
+#define CM3592_REG_UVB_DATA             0x07
+#define CM3592_REG_G_DATA               0x09
+#define CM3592_REG_IR_DATA              0x0B
 #define CM3592_REG_DEVICE_ID            0x0C
 #define CM3592_REG_ALS_CROSS_INT_EVENT  0x0D