testing

Dependencies:   mbed wave_player SDFileSystem

Files at this revision

API Documentation at this revision

Comitter:
hcharan
Date:
Mon Jun 03 12:06:30 2019 +0000
Commit message:
Library issue with sample rates

Changed in this revision

SDFileSystem.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
wave_player.lib Show annotated file Show diff for this revision Revisions of this file
--- /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