This is a very simple guide, reviewing the steps required to get Blinky working on an Mbed OS platform.

Mbed OS Blinky

This example shows the use of a DigitalOut object to represent an LED and use of the nonblocking Thread::wait() call. Using nonblocking calls is good practice because Mbed OS can schedule and run other threads while the first thread is waiting.

Building this example

Building with Arm Mbed CLI

To use Mbed CLI to build this example, follow the instructions in the documentation. The instructions here relate to using the Arm Online Compiler.

To use the Online Compiler, import this code into the Online Compiler, and select your platform from the top right. Compile the code using the compile button, load it onto your board and press the reset button on the board. The code will run on the board, and you will see the LED blink.

You can find more instructions for using the Mbed Online Compiler in the documentation.

Revisions of

Revision Date Message Actions
103:681967d62a72 19 months ago Corrected code snippet rendering on README. (#197) File  Diff  Annotate
102:6979ad8bc0bc 19 months ago Simplify application (#192) File  Diff  Annotate
93:4b44c2502b00 2019-03-22 Merge pull request #165 from kegilbert/ARMC5-doc-removal File  Diff  Annotate
91:3a205782066a 2019-02-13 Initial commit. File  Diff  Annotate
89:448e37ce650a 2019-01-16 Merge pull request #156 from kegilbert/romram-reporting File  Diff  Annotate
88:bea4f2daa48c 2019-01-08 Merge pull request #155 from deepikabhavnani/print_fix File  Diff  Annotate
85:b4c5dbbf74e3 2018-12-19 Merge pull request #149 from 0xc0170/fix_license File  Diff  Annotate
84:9b22d3bf66f7 2018-12-13 Merge pull request #148 from kegilbert/patch-2 File  Diff  Annotate
83:7b0fac4e7fd2 2018-11-30 Merge pull request #147 from kegilbert/revert-romram-report File  Diff  Annotate
82:abf1b1785bd7 2018-11-29 Merge pull request #144 from kegilbert/quick-start-blinky File  Diff  Annotate
57:98afe5d5ae5c 2018-01-18 Readme: remove uvision debug (#111) File  Diff  Annotate
54:64a293b4da54 2017-12-29 Updating mbed-os to mbed-os-5.7.1 (#108) File  Diff  Annotate
27:e64a31d541da 2017-02-28 Merge pull request #44 from AnotherButler/master File  Diff  Annotate
24:a0164b11ed6f 2017-02-02 Merge pull request #41 from ARMmbed/MarceloSalazar-patch-1 File  Diff  Annotate
14:e4cde3e77fdc 2016-10-21 Merge pull request #33 from ARMmbed/fix_oob File  Diff  Annotate
3:297fe5b2279f 2016-07-29 Merge pull request #14 from ARMmbed/MS-patch-1 File  Diff  Annotate
1:846c97078558 2016-07-28 Update example to at tag mbed-os-5.1.0-rc3 File  Diff  Annotate
0:2757d7abb7d9 2016-07-28 Update example to at tag mbed-os-5.1.0-rc1 File  Diff  Annotate