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

Dependencies:   TextLCD mbed SDFileSystem

MySound.h

Committer:
sunifu
Date:
2011-02-04
Revision:
0:f0cd2b9de695

File content as of revision 0:f0cd2b9de695:

#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