Nuvoton
/
NuMaker-mbed-NuBrick-example
NuMaker Brick I2C slave devices
README.md@12:92db8dd90705, 2021-02-25 (annotated)
- Committer:
- SHLIU1@OANBE02333.nuvoton.com
- Date:
- Thu Feb 25 11:05:27 2021 +0800
- Revision:
- 12:92db8dd90705
- Parent:
- 4:3a606a90c432
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:3a606a90c432 | 1 | # Getting started sample with I2C slave device on mbed OS |
shliu1 |
3:1b7324dff4b7 | 2 | |
shliu1 |
3:1b7324dff4b7 | 3 | |
shliu1 |
4:3a606a90c432 | 4 | ### Import NuMaker-mbed-NuBrick-example from on-line IDE |
shliu1 |
4:3a606a90c432 | 5 | 1. Please choose Nuvoton NuMaker-PFM-XXX as your target platform. |
shliu1 |
4:3a606a90c432 | 6 | 2. Please press the left-up icon "New", then choose "NuMaker Brick I2C slave devices" from the template list. |
shliu1 |
4:3a606a90c432 | 7 | 3. Your NuMaker-mbed-NuBrick-example program is existed. |
shliu1 |
3:1b7324dff4b7 | 8 | |
shliu1 |
4:3a606a90c432 | 9 | #### Now compile |
shliu1 |
4:3a606a90c432 | 10 | Please press compile icon. |
shliu1 |
4:3a606a90c432 | 11 | |
shliu1 |
4:3a606a90c432 | 12 | #### Burn Code & Execute |
shliu1 |
4:3a606a90c432 | 13 | 1. Connect the board NuMaker-PFM-XXX with your PC by USB cable, then there will be one "mbed" disk. |
shliu1 |
4:3a606a90c432 | 14 | 2. Copy the built binary file into "mbed" disk on you PC. |
shliu1 |
4:3a606a90c432 | 15 | 3. Press device's reset button to execute, user could test I2C slave devices. |
shliu1 |
4:3a606a90c432 | 16 |