si1145 library

Dependents:   FRDM_ApplicationShield_GroveSensors

Revision:
7:3e3fe1852990
Parent:
6:642ece0fad39
Child:
8:4511725f06b2
--- a/SI1145.cpp	Sun Jun 14 01:33:47 2015 +0000
+++ b/SI1145.cpp	Sun Jun 14 01:36:06 2015 +0000
@@ -192,7 +192,7 @@
     //float valf;                          // vis (IR+UV) value
     char reg[1];                         // register
     char data[2] = {0,0};                // data 2 x 8 bits
-    uint16_t vali;                       // vis value
+    int vali;                       // vis value
     // Set register    
     reg[0] = 0x22;
     // Read registers