Sparkfun RGB and Gesture Sensor APDS-9960
The Sparkfun RGB and Gesture sensor provides ambient light, RGB color, proximity sensing, and gesture recognition for distances up to 8" (20cm).
Uses the APDS_9960 Digital Proximity, Ambient Light, RGB and Gesture Sensor library to play detected gesture sounds on a speaker from the SDcard
APDS-9960 Light, RGB, Proximity, and Gesture Sensor https://www.sparkfun.com/products/12787 This library interfaces the APDS-9960 to Mbed over I2C. The library relies on the I2C library. To use the library, instantiate a glibr object, call ginit(), and call the appropriate functions.
See Sparkfun RGB and Gesture Sensor for mbed Wiki Page for more info on using the ADPS-9960.