Lab4
Dependencies: USBHost mbed wave_player_appbd
Fork of AppBoard_Waveplayer by
Revision 12:67b9ed2c6e4f, committed 2015-03-03
- Comitter:
- psahay
- Date:
- Tue Mar 03 19:51:15 2015 +0000
- Parent:
- 11:84161ded6baf
- Child:
- 13:1b26be6d53ad
- Commit message:
- stop
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
wave_player_appbd.lib | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Mar 03 19:49:09 2015 +0000 +++ b/main.cpp Tue Mar 03 19:51:15 2015 +0000 @@ -18,7 +18,7 @@ void playwav(void const *args) { - File *wave_file; + FILE *wave_file; wave_file=fopen((const char *)args,"r"); waver.play(wave_file); fclose(wave_file); @@ -35,6 +35,7 @@ Thread::wait(500); } //open wav file and play it + waver.stop = false; Thread thread(playwav,(void *)"/usb/wav3.wav"); //end of program Thread::wait(10);
--- a/wave_player_appbd.lib Tue Mar 03 19:49:09 2015 +0000 +++ b/wave_player_appbd.lib Tue Mar 03 19:51:15 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/4180_1/code/wave_player_appbd/#9681894c42cb +http://mbed.org/users/4180_1/code/wave_player_appbd/#4edd9db27009