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:
- 9:286d00d9db80
- Parent:
- 8:6fa15d4e31fb
- Child:
- 10:e8adab2fb829
--- a/glibr.h Fri Mar 06 21:50:03 2015 +0000 +++ b/glibr.h Fri Mar 06 22:59:40 2015 +0000 @@ -207,7 +207,7 @@ ~glibr(); - uint8_t ginit(); + bool ginit(); /* Initialization methods */ uint8_t getMode(); @@ -327,7 +327,7 @@ uint8_t I2CreadByte(char address, char subAddress); int I2CwriteByte(char address, char subAddress, char data); - int I2CReadDataBlock(char address, char subAddress, uint8_t *val, unsigned int len); + int I2CReadDataBlock(char address, char subAddress, char *data, unsigned int len); I2C i2c; };