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

main.cpp

Committer:
kbhagat6
Date:
2015-03-05
Revision:
0:437ae08befe3
Child:
10:e8adab2fb829

File content as of revision 0:437ae08befe3:

#include "mbed.h"
#include "glibr.h"
//DigitalOut myled(LED1);
Serial pc(USBTX, USBRX);

glibr test(p9,p10);

int main() {


 uint8_t  cool;
cool=test.ginit();
//pc.printf("cool");
pc.printf("%u", cool);
}