![](/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.cpp
- Revision:
- 11:ea43b0b83222
- Parent:
- 10:e8adab2fb829
- Child:
- 13:5930645dc5f0
--- a/glibr.cpp Mon Mar 09 21:17:34 2015 +0000 +++ b/glibr.cpp Wed Mar 11 14:56:59 2015 +0000 @@ -915,17 +915,13 @@ } } -/* #if DEBUG - Serial.print("UD_CT: "); - Serial.print(gesture_ud_count_); - Serial.print(" LR_CT: "); - Serial.print(gesture_lr_count_); - Serial.print(" NEAR_CT: "); - Serial.print(gesture_near_count_); - Serial.print(" FAR_CT: "); - Serial.println(gesture_far_count_); - Serial.println("----------"); -#endif */ +// #if DEBUG + printf("UD_CT: %d\n",gesture_ud_count_); + printf("LR_CT: %d\n",gesture_lr_count_); + printf("NEAR_CT: %d\n",gesture_near_count_); + printf(" FAR_CT: %d\n",gesture_far_count_); + printf("----------"); +//#endif */ return false; }