mbed/ARM 活用事例 第3章 SDカードを使ってファイルを操作するプログラムを作る
Dependencies: TextLCD mbed SDFileSystem
Diff: MySound.h
- Revision:
- 0:c743b6678d88
diff -r 000000000000 -r c743b6678d88 MySound.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MySound.h Tue Oct 04 12:59:42 2011 +0000 @@ -0,0 +1,20 @@ +// --- MySound.h --- +#ifndef MBED_MY__SOUND_H +#define MBED_MY__SOUND_H + +#include "mbed.h" + +class MySound { + +public : + MySound(PinName out); + + void play(char,int,char); + +protected: + PwmOut _out; + Timer t; +}; + +#endif +