...
Dependencies: PWM_Tone_Library mbed
Fork of PiezoBuzzer_HelloWorld_WIZwiki-W7500 by
Diff: main.cpp
- Revision:
- 1:42c374d89303
- Parent:
- 0:9d311e74ad13
--- 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,