koikelab / Mbed 2 deprecated app-board-Speaker

Dependencies:   C12832 USBHost mbed MMA7660 wave_player

Fork of app-board-Speaker by Ryohei Funakoshi

Files at this revision

API Documentation at this revision

Comitter:
toyohara
Date:
Tue Dec 13 09:54:54 2016 +0000
Parent:
17:9e07a9ff6e91
Child:
19:8762c0a71816
Commit message:
a

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Dec 13 09:50:15 2016 +0000
+++ b/main.cpp	Tue Dec 13 09:54:54 2016 +0000
@@ -469,6 +469,8 @@
     wave_file = fopen("/usb/music/BGMforMBED2.wav", "r");
 
     stdio_mutex.unlock();
+    lcd.locate(10,10);
+    lcd.printf("scale %s", names[0]);
     waver.play(wave_file);
     fclose(wave_file);