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 mbed-os.lib

Revision Date Message Actions
23:f732f7a1db63 2017-01-17 Merge pull request #39 from adbridge/master File  Diff  Annotate
21:4e300741229d 2017-01-05 Merge pull request #37 from adbridge/master File  Diff  Annotate
20:3d13ed027d89 2016-12-22 Merge pull request #36 from adbridge/master File  Diff  Annotate
19:c3f08ad7c776 2016-12-16 Update mbed-os to mbed-os-5.3.0 File  Diff  Annotate
18:50b62d440e88 2016-12-09 Merge pull request #35 from adbridge/master File  Diff  Annotate
17:70f39bf6d39a 2016-11-14 Merge pull request #34 from adbridge/master File  Diff  Annotate
16:71f51c703eee 2016-10-28 Updating mbed-os to mbed-os-5.2.1 File  Diff  Annotate
15:26d1c87c3fc0 2016-10-24 Updating mbed-os to mbed-os-5.2.0 File  Diff  Annotate
13:191efdabc48f 2016-10-05 Updating mbed-os to mbed-os-5.1.5 File  Diff  Annotate
12:f4cb0404a9a2 2016-09-16 Updating mbed-os to mbed-os-5.1.4 File  Diff  Annotate
11:0fa38cb22ea9 2016-09-02 Updating mbed-os to mbed-os-5.1.3 File  Diff  Annotate
10:c4bec1c9b715 2016-08-20 Updating mbed-os to mbed-os-5.1.2 File  Diff  Annotate
9:dd27ad588fe2 2016-08-19 Updating mbed-os to mbed-os-5.1.1 File  Diff  Annotate
7:313938df05aa 2016-08-05 Updating mbed-os to mbed-os-5.1.0 File  Diff  Annotate
6:8a6a7901ca31 2016-08-05 Updating mbed-os to mbed-os-5.1.0 File  Diff  Annotate
5:705c130de54c 2016-08-03 Updating mbed-os to mbed-os-5.1.0-rc5 File  Diff  Annotate
4:91b341d955d5 2016-07-30 Updating mbed-os to mbed-os-5.1.0-rc4 File  Diff  Annotate
1:846c97078558 2016-07-28 Update example to https://github.com/ARMmbed/mbed-os-example-blinky at tag mbed-os-5.1.0-rc3 File  Diff  Annotate
0:2757d7abb7d9 2016-07-28 Update example to https://github.com/ARMmbed/mbed-os-example-blinky at tag mbed-os-5.1.0-rc1 File  Diff  Annotate