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).
Hello World
Import programGestureSensor_Test
Uses the APDS_9960 Digital Proximity, Ambient Light, RGB and Gesture Sensor library to play detected gesture sounds on a speaker from the SDcard
Library
Import libraryAPDS_9960
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.
Pinout
Datasheet
http://www.avagotech.com/docs/AV02-4191ENNotes
See Sparkfun RGB and Gesture Sensor for mbed Wiki Page for more info on using the ADPS-9960.
You need to log in to post a discussion