エレキジャック Web版 mbedで初めてのマイコン開発 メモリカードを使ったデータの読み書き<2/3> 音符データをSDから読み込んで音楽を鳴らすプログラムです。 音楽データはエレキジャックのサイトに置いてあります。 music.txt http://www.eleki-jack.com/arm/2010/12/mbed-6.html

Dependencies:   TextLCD mbed SDFileSystem

Revision:
0:f0cd2b9de695
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MySound.h	Fri Feb 04 15:09:01 2011 +0000
@@ -0,0 +1,16 @@
+#ifndef MBED_MYSOUND_H
+#define MBED_MYSOUND_H
+
+#include "mbed.h"
+
+class MySound {
+    
+public :   
+    MySound(PinName out);
+    void play(char,int,char);
+    
+protected:
+    DigitalOut _out;    
+};
+
+#endif
\ No newline at end of file