mbed/ARM 活用事例 第3章 SDカードを使ってファイルを操作するプログラムを作る

Dependencies:   TextLCD mbed SDFileSystem

Committer:
sunifu
Date:
Tue Oct 04 12:59:42 2011 +0000
Revision:
0:c743b6678d88

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sunifu 0:c743b6678d88 1 // --- MySound.h ---
sunifu 0:c743b6678d88 2 #ifndef MBED_MY__SOUND_H
sunifu 0:c743b6678d88 3 #define MBED_MY__SOUND_H
sunifu 0:c743b6678d88 4
sunifu 0:c743b6678d88 5 #include "mbed.h"
sunifu 0:c743b6678d88 6
sunifu 0:c743b6678d88 7 class MySound {
sunifu 0:c743b6678d88 8
sunifu 0:c743b6678d88 9 public :
sunifu 0:c743b6678d88 10 MySound(PinName out);
sunifu 0:c743b6678d88 11
sunifu 0:c743b6678d88 12 void play(char,int,char);
sunifu 0:c743b6678d88 13
sunifu 0:c743b6678d88 14 protected:
sunifu 0:c743b6678d88 15 PwmOut _out;
sunifu 0:c743b6678d88 16 Timer t;
sunifu 0:c743b6678d88 17 };
sunifu 0:c743b6678d88 18
sunifu 0:c743b6678d88 19 #endif
sunifu 0:c743b6678d88 20