Nuvoton
/
NuMaker-mbed-GPIO-button-buzzer-rgbled
NuMaker GPIO button with LED and buzzer
README.md@13:9982ee238f27, 2021-02-25 (annotated)
- Committer:
- SHLIU1@OANBE02333.nuvoton.com
- Date:
- Thu Feb 25 10:55:25 2021 +0800
- Revision:
- 13:9982ee238f27
- Parent:
- 4:8c02c5014a91
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:8c02c5014a91 | 1 | # Getting started with LED and buzzer on mbed OS |
shliu1 |
4:8c02c5014a91 | 2 | |
shliu1 |
4:8c02c5014a91 | 3 | |
shliu1 |
4:8c02c5014a91 | 4 | ### Import NuMaker-mbed-GPIO-button-buzzer-rgbled from on-line IDE |
shliu1 |
4:8c02c5014a91 | 5 | 1. Please choose Nuvoton NuMaker-PFM-XXX as your target platform. |
shliu1 |
4:8c02c5014a91 | 6 | 2. Please press the left-up icon "New", then choose "NuMaker GPIO button with LED and buzzer" from the template list. |
shliu1 |
4:8c02c5014a91 | 7 | 3. Your NuMaker-mbed-GPIO-button-buzzer-rgbled program is existed. |
shliu1 |
4:8c02c5014a91 | 8 | |
shliu1 |
4:8c02c5014a91 | 9 | #### Now compile |
shliu1 |
4:8c02c5014a91 | 10 | Please press compile icon. |
shliu1 |
4:8c02c5014a91 | 11 | |
shliu1 |
4:8c02c5014a91 | 12 | #### Burn Code & Execute |
shliu1 |
4:8c02c5014a91 | 13 | 1. Connect the board NuMaker-PFM-XXX with your PC by USB cable, then there will be one "mbed" disk. |
shliu1 |
4:8c02c5014a91 | 14 | 2. Copy the built binary file into "mbed" disk on you PC. |
shliu1 |
4:8c02c5014a91 | 15 | 3. Press device's reset button to execute, press the SW1 button to turn on blue LED and green LED, |
shliu1 |
4:8c02c5014a91 | 16 | press the SW2 button to turn on buzzer. |