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.

Changes

RevisionDateWhoCommit message
106:d323dd088ba2 2019-11-22 mbed_official Updating mbed-os to mbed-os-5.14.2 (#199) default tip
105:ed03c03b353e 2019-11-19 mbed_official Corrected code snippet rendering on README. (#197)
104:f2805e857b14 2019-11-19 arekzaluski Change timeout
103:681967d62a72 2019-11-05 mbed_official Corrected code snippet rendering on README. (#197)
102:6979ad8bc0bc 2019-11-04 mbed_official Simplify application (#192)
101:130fd2e532f0 2019-10-23 mbed_official Updating to mbed-os-5.14.1 (#196)
100:ec006d6f3cb6 2019-10-14 mbed_official Call `thread_sleep_for` to sleep (#193)
99:394543729870 2019-10-01 mbed_official Updating mbed-os to mbed-os-5.14
98:f2d7e14c84a1 2019-09-04 mbed_official Merge pull request #186 from hugueskamba/hk-fix-warnings
97:d180a47a5804 2019-07-23 mbed_official mbed-os-5.13.1 (#181)
96:ec3a2da01f40 2019-05-31 mbed_official Merge pull request #176 from jamesbeyond/test
95:bb79be6644fe 2019-05-15 mbed_official Merge pull request #173 from jamesbeyond/test
94:ef34de021f40 2019-04-11 mbed_official Merge pull request #170 from ARMmbed/mbed-os-5.12
93:4b44c2502b00 2019-03-22 mbed_official Merge pull request #165 from kegilbert/ARMC5-doc-removal
92:38a21a468f38 2019-02-25 mbed_official Merge pull request #162 from adbridge/master
91:3a205782066a 2019-02-13 mbed_official Initial commit.
90:37c3d70b5cb6 2019-01-17 mbed_official Merge pull request #157 from cmonr/master
89:448e37ce650a 2019-01-16 mbed_official Merge pull request #156 from kegilbert/romram-reporting
88:bea4f2daa48c 2019-01-08 mbed_official Merge pull request #155 from deepikabhavnani/print_fix
87:4c31b7ef1391 2019-01-07 mbed_official Merge pull request #154 from deepikabhavnani/patch-1
86:f6d935d72b90 2019-01-03 mbed_official Merge pull request #152 from adbridge/master
85:b4c5dbbf74e3 2018-12-19 mbed_official Merge pull request #149 from 0xc0170/fix_license
84:9b22d3bf66f7 2018-12-13 mbed_official Merge pull request #148 from kegilbert/patch-2
83:7b0fac4e7fd2 2018-11-30 mbed_official Merge pull request #147 from kegilbert/revert-romram-report
82:abf1b1785bd7 2018-11-29 mbed_official Merge pull request #144 from kegilbert/quick-start-blinky
81:87d739bb9014 2018-11-19 mbed_official Merge pull request #143 from cmonr/master
80:3996c42f7d49 2018-11-06 mbed_official Merge pull request #141 from adbridge/master
79:ba828995f32d 2018-10-22 mbed_official Merge pull request #140 from cmonr/master
78:fd6440fb9e59 2018-10-09 mbed_official Merge pull request #138 from cmonr/master
77:9ffd4ddf037b 2018-09-26 mbed_official Updating mbed-os to mbed-os-5.10.0
76:b8641a51336e 2018-09-14 mbed_official Merge pull request #136 from adbridge/master
75:b827e32e3e2a 2018-08-27 mbed_official Merge pull request #135 from 0xc0170/master
74:8eaa115f31a3 2018-08-15 mbed_official Merge pull request #133 from cmonr/master
73:00fa8b8f7ebf 2018-07-31 mbed_official Merge pull request #131 from cmonr/master
72:6d94d755fbb0 2018-07-17 mbed_official Merge pull request #130 from cmonr/master
71:24437f8a77a2 2018-07-02 mbed_official Merge pull request #128 from adbridge/master
70:0c5f9561e5b7 2018-06-19 mbed_official Merge pull request #126 from adbridge/master
69:1ff487e9be56 2018-06-15 mbed_official Merge branch 'mbed-os-5.9.0-oob'
68:6b419de492af 2018-06-06 mbed_official Merge pull request #125 from adbridge/master
67:19fbdbf3bb36 2018-05-22 mbed_official Merge pull request #123 from adbridge/master
66:e408ae75c632 2018-05-10 mbed_official Merge pull request #122 from 0xc0170/master
65:caf630d9c605 2018-05-02 mbed_official Merge pull request #120 from adbridge/master
64:7091d1363acd 2018-04-11 mbed_official Merge pull request #119 from adbridge/master
63:fafc99ba7d28 2018-03-28 mbed_official Updating mbed-os to mbed-os-5.8.1 (#117)
62:e9d648b75347 2018-03-28 mbed_official Update mbed lib to 5.8.0
61:fdd51bb3a950 2018-03-19 mbed_official Merge pull request #115 from cmonr/master
60:fda7696090e1 2018-02-26 mbed_official Merge pull request #114 from adbridge/master
59:4c739d732e0d 2018-02-13 mbed_official Merge pull request #113 from adbridge/master
58:d69d9e148365 2018-01-31 mbed_official Merge pull request #112 from cmonr/master
57:98afe5d5ae5c 2018-01-18 mbed_official Readme: remove uvision debug (#111)
56:67611bfa061f 2018-01-17 mbed_official Updating mbed-os to mbed-os-5.7.3 (#110)
55:31ae47e84e28 2018-01-03 mbed_official Updating mbed-os to mbed-os-5.7.2 (#109)
54:64a293b4da54 2017-12-29 mbed_official Updating mbed-os to mbed-os-5.7.1 (#108)
53:1205fa63cbaa 2017-12-04 mbed_official Merge pull request #98 from adbridge/master
52:22f262b40130 2017-11-22 mbed_official Merge pull request #95 from adbridge/master
51:b05978d9cf8e 2017-11-20 mbed_official Merge pull request #94 from adbridge/master
50:84f446a84793 2017-11-08 mbed_official Merge pull request #93 from adbridge/master
49:7f15ac2a78f5 2017-10-24 mbed_official Merge pull request #91 from 0xc0170/master
48:c0e9192885c6 2017-10-09 mbed_official Merge pull request #90 from adbridge/master
47:54bd97f836f3 2017-10-02 mbed_official Merge pull request #89 from adbridge/master