このライブラリでは、単音とメロディの出力が可能です。 In this library, you can output a single tone and melody. mbedのpwmOutとDigitalOutを使ってスピーカや圧電ブザーを直接駆動します。 directly drive speaker or buzzer and DigitalOut pwmOut using the mbed. メロディデータは、mbedのローカルにtxtファイルとして保存するか、プログラム中に配列データとして保存してください。 Melody data is either stored in a txt file on the local mbed, save it as a data array in the program.
Dependents: kitchenTimer_Clock SoundLibraryExample_Melody_ProgramData M3PI_SuiviLigne
Diff: Sound.h
- Revision:
- 14:6e0eac903431
- Parent:
- 13:cd42abff5173
--- a/Sound.h Sun Oct 20 06:00:50 2013 +0000 +++ b/Sound.h Sat Oct 26 22:32:46 2013 +0000 @@ -27,6 +27,7 @@ /* V0.1 : 2011/11/13 */ /* V0.2 : 2011/11/19 Added copyright notice */ /* V0.3 : 2013/10/20 LPC1114FN28 taiou */ +/* V0.4 : 2013/10/26 Sound end no stop syori tuika */ /***********************************************************************/ #ifndef _SOUND_H #define _SOUND_H