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
106:d323dd088ba2 17 months ago Updating mbed-os to mbed-os-5.14.2 (#199) File  Diff  Annotate
102:6979ad8bc0bc 18 months ago Simplify application (#192) File  Diff  Annotate
101:130fd2e532f0 18 months ago Updating to mbed-os-5.14.1 (#196) File  Diff  Annotate
99:394543729870 19 months ago Updating mbed-os to mbed-os-5.14 File  Diff  Annotate
97:d180a47a5804 22 months ago mbed-os-5.13.1 (#181) File  Diff  Annotate
94:ef34de021f40 2019-04-11 Merge pull request #170 from ARMmbed/mbed-os-5.12 File  Diff  Annotate
92:38a21a468f38 2019-02-25 Merge pull request #162 from adbridge/master File  Diff  Annotate
91:3a205782066a 2019-02-13 Initial commit. File  Diff  Annotate
90:37c3d70b5cb6 2019-01-17 Merge pull request #157 from cmonr/master File  Diff  Annotate
86:f6d935d72b90 2019-01-03 Merge pull request #152 from adbridge/master File  Diff  Annotate
85:b4c5dbbf74e3 2018-12-19 Merge pull request #149 from 0xc0170/fix_license File  Diff  Annotate
81:87d739bb9014 2018-11-19 Merge pull request #143 from cmonr/master File  Diff  Annotate
80:3996c42f7d49 2018-11-06 Merge pull request #141 from adbridge/master File  Diff  Annotate
79:ba828995f32d 2018-10-22 Merge pull request #140 from cmonr/master File  Diff  Annotate
78:fd6440fb9e59 2018-10-09 Merge pull request #138 from cmonr/master File  Diff  Annotate
77:9ffd4ddf037b 2018-09-26 Updating mbed-os to mbed-os-5.10.0 File  Diff  Annotate
76:b8641a51336e 2018-09-14 Merge pull request #136 from adbridge/master File  Diff  Annotate
75:b827e32e3e2a 2018-08-27 Merge pull request #135 from 0xc0170/master File  Diff  Annotate
74:8eaa115f31a3 2018-08-15 Merge pull request #133 from cmonr/master File  Diff  Annotate
73:00fa8b8f7ebf 2018-07-31 Merge pull request #131 from cmonr/master File  Diff  Annotate
72:6d94d755fbb0 2018-07-17 Merge pull request #130 from cmonr/master File  Diff  Annotate
71:24437f8a77a2 2018-07-02 Merge pull request #128 from adbridge/master File  Diff  Annotate
70:0c5f9561e5b7 2018-06-19 Merge pull request #126 from adbridge/master File  Diff  Annotate
69:1ff487e9be56 2018-06-15 Merge branch 'mbed-os-5.9.0-oob' File  Diff  Annotate
68:6b419de492af 2018-06-06 Merge pull request #125 from adbridge/master File  Diff  Annotate
67:19fbdbf3bb36 2018-05-22 Merge pull request #123 from adbridge/master File  Diff  Annotate
66:e408ae75c632 2018-05-10 Merge pull request #122 from 0xc0170/master File  Diff  Annotate
65:caf630d9c605 2018-05-02 Merge pull request #120 from adbridge/master File  Diff  Annotate
64:7091d1363acd 2018-04-11 Merge pull request #119 from adbridge/master File  Diff  Annotate
63:fafc99ba7d28 2018-03-28 Updating mbed-os to mbed-os-5.8.1 (#117) File  Diff  Annotate
62:e9d648b75347 2018-03-28 Update mbed lib to 5.8.0 File  Diff  Annotate
61:fdd51bb3a950 2018-03-19 Merge pull request #115 from cmonr/master File  Diff  Annotate
60:fda7696090e1 2018-02-26 Merge pull request #114 from adbridge/master File  Diff  Annotate
59:4c739d732e0d 2018-02-13 Merge pull request #113 from adbridge/master File  Diff  Annotate
58:d69d9e148365 2018-01-31 Merge pull request #112 from cmonr/master File  Diff  Annotate
56:67611bfa061f 2018-01-17 Updating mbed-os to mbed-os-5.7.3 (#110) File  Diff  Annotate
55:31ae47e84e28 2018-01-03 Updating mbed-os to mbed-os-5.7.2 (#109) File  Diff  Annotate
54:64a293b4da54 2017-12-29 Updating mbed-os to mbed-os-5.7.1 (#108) File  Diff  Annotate
53:1205fa63cbaa 2017-12-04 Merge pull request #98 from adbridge/master File  Diff  Annotate
52:22f262b40130 2017-11-22 Merge pull request #95 from adbridge/master File  Diff  Annotate
51:b05978d9cf8e 2017-11-20 Merge pull request #94 from adbridge/master File  Diff  Annotate
50:84f446a84793 2017-11-08 Merge pull request #93 from adbridge/master File  Diff  Annotate
49:7f15ac2a78f5 2017-10-24 Merge pull request #91 from 0xc0170/master File  Diff  Annotate
48:c0e9192885c6 2017-10-09 Merge pull request #90 from adbridge/master File  Diff  Annotate
47:54bd97f836f3 2017-10-02 Merge pull request #89 from adbridge/master File  Diff  Annotate
46:9e5c120a82a8 2017-09-29 Merge pull request #88 from 0xc0170/master File  Diff  Annotate
45:d007f1c934db 2017-09-15 Merge pull request #82 from adbridge/master File  Diff  Annotate
44:b2244fb266b2 2017-08-30 Merge pull request #79 from adbridge/master File  Diff  Annotate
43:f8fc29d58d3c 2017-08-14 Merge pull request #77 from adbridge/master File  Diff  Annotate
42:f39d7abfada9 2017-08-03 Merge pull request #76 from 0xc0170/master File  Diff  Annotate
41:3f37e8ac5378 2017-07-18 Merge pull request #75 from 0xc0170/master File  Diff  Annotate
40:d4500ea4f3aa 2017-07-06 Merge pull request #68 from adbridge/master File  Diff  Annotate
39:bcfaadc319d3 2017-06-22 Merge pull request #67 from adbridge/master File  Diff  Annotate
38:b33ed55e5bbb 2017-06-20 Merge pull request #66 from adbridge/master File  Diff  Annotate
37:8f3f0b8835f8 2017-06-08 Merge pull request #61 from adbridge/master File  Diff  Annotate
36:a71a29786c47 2017-05-25 Merge pull request #60 from adbridge/master File  Diff  Annotate
35:bb184e64b703 2017-05-10 Merge pull request #59 from adbridge/master File  Diff  Annotate
34:7e1d08fa7968 2017-04-27 Merge pull request #58 from 0xc0170/master File  Diff  Annotate
33:1f9c4999fab2 2017-04-10 Merge pull request #57 from adbridge/master File  Diff  Annotate
32:19ac154228ba 2017-03-29 Merge pull request #55 from 0xc0170/master File  Diff  Annotate