Nuvoton
/
NuMaker-mbed-PWM0_playnote
NuMaker PWM0 play notes (to speaker)
README.md@12:c1c8ac0136ed, 2021-02-25 (annotated)
- Committer:
- SHLIU1@OANBE02333.nuvoton.com
- Date:
- Thu Feb 25 14:23:47 2021 +0800
- Revision:
- 12:c1c8ac0136ed
- Parent:
- 4:cf951fa65c75
Support the both V5.X and V6.X for mbed-os
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shliu1 |
4:cf951fa65c75 | 1 | # Getting started PWM0 with a speaker on mbed OS |
shliu1 |
4:cf951fa65c75 | 2 | |
shliu1 |
4:cf951fa65c75 | 3 | |
shliu1 |
4:cf951fa65c75 | 4 | ### Import NuMaker-mbed-PWM0_playnote from on-line IDE |
shliu1 |
4:cf951fa65c75 | 5 | 1. Please choose Nuvoton NuMaker-PFM-XXX as your target platform. |
shliu1 |
4:cf951fa65c75 | 6 | 2. Please press the left-up icon "New", then choose "NuMaker PWM0 play notes (to speaker)" from the template list. |
shliu1 |
4:cf951fa65c75 | 7 | 3. Your NuMaker-mbed-PWM0_playnote program is existed. |
shliu1 |
4:cf951fa65c75 | 8 | |
shliu1 |
4:cf951fa65c75 | 9 | #### Now compile |
shliu1 |
4:cf951fa65c75 | 10 | Please press compile icon. |
shliu1 |
4:cf951fa65c75 | 11 | |
shliu1 |
4:cf951fa65c75 | 12 | #### Burn Code & Execute |
shliu1 |
4:cf951fa65c75 | 13 | 1. Connect the board NuMaker-PFM-XXX with your PC by USB cable, then there will be one "mbed" disk. |
shliu1 |
4:cf951fa65c75 | 14 | 2. Copy the built binary file into "mbed" disk on you PC. |
shliu1 |
4:cf951fa65c75 | 15 | 3. Press device's reset button to execute, PWM0 outputs notes to a speaker. |
shliu1 |
4:cf951fa65c75 | 16 |