testing
Dependencies: mbed wave_player SDFileSystem
Revision 0:64725c30b650, committed 2019-06-03
- Comitter:
- hcharan
- Date:
- Mon Jun 03 12:06:30 2019 +0000
- Commit message:
- Library issue with sample rates
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SDFileSystem.lib Mon Jun 03 12:06:30 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/neilt6/code/SDFileSystem/#e4d2567200db
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Jun 03 12:06:30 2019 +0000 @@ -0,0 +1,21 @@ + +#include "mbed.h" +#include "SDFileSystem.h" +#include "wave_player.h" + + +//SDFileSystem sd(PB_5, PB_04, PB_03, PA_15, "sd"); //SD card +SDFileSystem sd(PB_15, PB_14, PB_13, PB_12, "TEST"); + +AnalogOut DACout(PA_4); + +wave_player waver(&DACout); + +int main() +{ + FILE *wave_file; + printf("\n\n\nHello, wave world!\n"); + wave_file=fopen("/TEST/queen.wav","r"); + waver.play(wave_file); + fclose(wave_file); +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Jun 03 12:06:30 2019 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/users/mbed_official/code/mbed/builds/e1686b8d5b90 \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wave_player.lib Mon Jun 03 12:06:30 2019 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/sravet/code/wave_player/#acc3e18e77ad