A simple example of WAV playback for the RS AudioCODEC board. Uses a USB drive to stream music.
Dependencies: FatFileSystem MSCFileSystem WavPlayer mbed
Fork of WavPlayer_test by
Diff: main.cpp
- Revision:
- 3:e03854cb5cef
- Parent:
- 2:8818d976f1e7
- Child:
- 4:0e55cf186330
--- a/main.cpp Mon Sep 24 14:10:40 2012 +0000 +++ b/main.cpp Tue Sep 25 14:51:41 2012 +0000 @@ -1,6 +1,6 @@ -// This is all set up for the RS Labboard: Just plug a memory stick with a wav file called test.wav on it -//(such as the one you can get from: https://mbed.org/media/uploads/p07gbar/test.wav) and have a listen! -// Any 16bit PCM Wav files with channel*sample rate less than 48kHz should work. +// This is all set up for the AnimatronicLAB board (RS Product Code 754-1965): Just plug a memory stick +// with a wav file called test.wav on it //(such as the one you can get from: https://mbed.org/media/uploads/p07gbar/test.wav) +// and have a listen! Any 16bit PCM Wav files with channel*sample rate less than 48kHz should work. #include "mbed.h" #include "WavPlayer.h"