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:
- 4:0e55cf186330
- Parent:
- 3:e03854cb5cef
diff -r e03854cb5cef -r 0e55cf186330 main.cpp --- a/main.cpp Tue Sep 25 14:51:41 2012 +0000 +++ b/main.cpp Tue Sep 25 14:55:00 2012 +0000 @@ -1,5 +1,5 @@ -// 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) +// This is all set up for the AudioCODEC board on 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"