このライブラリでは、単音とメロディの出力が可能です。 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

Revision:
15:d526205994e9
Parent:
13:cd42abff5173
--- a/Sound.h	Sun Oct 20 06:00:50 2013 +0000
+++ b/Sound.h	Sun Nov 10 07:13:32 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 : @SS131110  fixed the bug in the output end processing     */
 /***********************************************************************/
 #ifndef _SOUND_H
 #define _SOUND_H