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
Diff: glibr.h
- Revision:
- 2:e31b7064efab
- Parent:
- 1:c7215f5f9a72
- Child:
- 3:26146a08bb22
--- 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);