...
Dependencies: PWM_Tone_Library mbed
Fork of PiezoBuzzer_HelloWorld_WIZwiki-W7500 by
Revision 1:42c374d89303, committed 2017-02-15
- 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 |
diff -r 9d311e74ad13 -r 42c374d89303 main.cpp --- 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,