Gugen展示版

Fork of MagneWave by kouzi osaki

Revision:
0:5a700113dd87
Child:
3:500b992880b3
diff -r 000000000000 -r 5a700113dd87 MagneWave.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MagneWave.h	Tue Oct 29 06:49:27 2013 +0000
@@ -0,0 +1,30 @@
+#ifndef MAGNE_WAVE_H
+#define MAGNE_WAVE_H
+
+#include "mbed.h"
+#include "SoftMCP4922.h"
+
+class MagneWave
+{
+public:
+    /*
+     * MagneWave - Magnetone wave player
+     * param
+     * [in] dac: dac address
+     */
+    MagneWave( SoftMCP4922 *dac );
+    
+    /*
+     * play - player function
+     * param
+     * [in] wavefile: file pointer
+     */
+    void play( FILE *wavefile );
+
+private:
+    SoftMCP4922 *m_wave_DAC;
+};
+
+
+
+#endif  // MAGNE_WAVE_H
\ No newline at end of file