testing

Dependencies:   mbed wave_player SDFileSystem

Revision:
0:64725c30b650
--- /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