...

Dependencies:   PWM_Tone_Library mbed

Fork of PiezoBuzzer_HelloWorld_WIZwiki-W7500 by justin kim

Files at this revision

API Documentation at this revision

Comitter:
Fleishmachine
Date:
Wed Feb 15 11:41:52 2017 +0000
Parent:
0:9d311e74ad13
Commit message:
piezo melody;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Jul 24 05:12:14 2015 +0000
+++ b/main.cpp	Wed Feb 15 11:41:52 2017 +0000
@@ -5,7 +5,7 @@
 /* Private typedef -----------------------------------------------------------*/
 /* Private define ------------------------------------------------------------*/
 /* Private variables ---------------------------------------------------------*/
-PwmOut Buzzer(D5);
+PwmOut Buzzer(p22);
 
 float C_3 = 1000000/Do3,
        Cs_3 = 1000000/Do3s,