![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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:
- 4:84545b0e63a9
- Parent:
- 3:26146a08bb22
- Child:
- 5:3eb4f3091bd8
--- a/glibr.h Thu Mar 05 22:23:50 2015 +0000 +++ b/glibr.h Thu Mar 05 22:42:17 2015 +0000 @@ -195,8 +195,8 @@ bool enableGestureSensor(bool interrupts); bool disableGestureSensor(); bool isGestureAvailable(); - - + int readGesture(); + private: uint8_t I2CreadByte(char address, char subAddress); int I2CwriteByte(char address, char subAddress, char data);