Uses the APDS_9960 Digital Proximity, Ambient Light, RGB and Gesture Sensor library to play detected gesture sounds on a speaker from the SDcard

Dependencies:   mbed SDFileSystem wave_player

Revision:
8:6fa15d4e31fb
Parent:
5:3eb4f3091bd8
Child:
9:286d00d9db80
diff -r 0564c6faf8aa -r 6fa15d4e31fb glibr.h
--- a/glibr.h	Fri Mar 06 19:35:24 2015 +0000
+++ b/glibr.h	Fri Mar 06 21:50:03 2015 +0000
@@ -191,7 +191,7 @@
     uint8_t d_data[32];
     uint8_t l_data[32];
     uint8_t r_data[32];
-    uint8_t index;
+    uint8_t sindex;
     uint8_t total_gestures;
     uint8_t in_threshold;
     uint8_t out_threshold;
@@ -327,7 +327,7 @@
     
     uint8_t I2CreadByte(char address, char subAddress);
     int I2CwriteByte(char address, char subAddress, char data); 
-    int I2CReadDataBlock(uint8_t reg, uint8_t *val, unsigned int len);
+    int I2CReadDataBlock(char address, char subAddress, uint8_t *val, unsigned int len);
     I2C i2c;
     
 };