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

Files at this revision

API Documentation at this revision

Comitter:
kbhagat6
Date:
Thu Mar 05 21:52:01 2015 +0000
Parent:
1:c7215f5f9a72
Child:
3:26146a08bb22
Commit message:
added more functions in header file

Changed in this revision

glibr.h Show annotated file Show diff for this revision Revisions of this file
--- a/glibr.h	Thu Mar 05 06:44:27 2015 +0000
+++ b/glibr.h	Thu Mar 05 21:52:01 2015 +0000
@@ -179,10 +179,13 @@
     uint8_t ginit();
     bool setMode(uint8_t mode, uint8_t enable);
     uint8_t getMode();
-    bool setLEDDrive(uint8_t drive);
+    bool setLEDDrive(uint8_t drive); 
     bool setProximityGain(uint8_t drive);
+     uint8_t getProximityGain();
+    uint8_t getAmbientLightGain();
     bool setAmbientLightGain(uint8_t drive);
- 
+    uint8_t getGestureGain();
+    bool setGestureGain(uint8_t gain);
     
     private:  
     uint8_t I2CreadByte(char address, char subAddress);