A wave player demo setup for the mbed application board. Reads a wave file from a USB flash drive, and outputs to the onboard speaker (very low volume) and the analog audio out jack that can be connected to a set of PC speakers for more volume. A wave file for the demo is available at http://mbed.org/media/uploads/4180_1/sample.wav. Copy it to the USB drive. See http://mbed.org/users/4180_1/notebook/application-board-waveplayer-demo/ for more details and instructions.
Dependencies: USBHost mbed wave_player_appbd
Fork of USBHostMSD_HelloWorld by
Revision 2:3e3df7a79050, committed 2013-03-12
- Comitter:
- samux
- Date:
- Tue Mar 12 17:35:32 2013 +0000
- Parent:
- 1:473f339c54c1
- Child:
- 3:17ca010bda2e
- Commit message:
- reduce stack size
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Mar 12 17:30:04 2013 +0000 +++ b/main.cpp Tue Mar 12 17:35:32 2013 +0000 @@ -39,7 +39,7 @@ int main() { - Thread msdTask(msd_task, NULL, osPriorityNormal, (1024+512) * 4); + Thread msdTask(msd_task, NULL, osPriorityNormal, 1024 * 4); while(1) { led=!led; Thread::wait(500);