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
100:ec006d6f3cb6 4 days ago mbed_official Call `thread_sleep_for` to sleep (#193) default tip
99:394543729870 2 weeks ago mbed_official Updating mbed-os to mbed-os-5.14
98:f2d7e14c84a1 6 weeks ago mbed_official Merge pull request #186 from hugueskamba/hk-fix-warnings
97:d180a47a5804 2 months ago mbed_official mbed-os-5.13.1 (#181)
96:ec3a2da01f40 4 months ago mbed_official Merge pull request #176 from jamesbeyond/test
95:bb79be6644fe 5 months ago mbed_official Merge pull request #173 from jamesbeyond/test
94:ef34de021f40 6 months ago mbed_official Merge pull request #170 from ARMmbed/mbed-os-5.12
93:4b44c2502b00 7 months ago mbed_official Merge pull request #165 from kegilbert/ARMC5-doc-removal
92:38a21a468f38 7 months ago mbed_official Merge pull request #162 from adbridge/master
91:3a205782066a 8 months ago mbed_official Initial commit.
90:37c3d70b5cb6 9 months ago mbed_official Merge pull request #157 from cmonr/master
89:448e37ce650a 9 months ago mbed_official Merge pull request #156 from kegilbert/romram-reporting
88:bea4f2daa48c 9 months ago mbed_official Merge pull request #155 from deepikabhavnani/print_fix
87:4c31b7ef1391 9 months ago mbed_official Merge pull request #154 from deepikabhavnani/patch-1
86:f6d935d72b90 9 months ago mbed_official Merge pull request #152 from adbridge/master
85:b4c5dbbf74e3 10 months ago mbed_official Merge pull request #149 from 0xc0170/fix_license
84:9b22d3bf66f7 10 months ago mbed_official Merge pull request #148 from kegilbert/patch-2
83:7b0fac4e7fd2 10 months ago mbed_official Merge pull request #147 from kegilbert/revert-romram-report
82:abf1b1785bd7 10 months ago mbed_official Merge pull request #144 from kegilbert/quick-start-blinky
81:87d739bb9014 11 months ago mbed_official Merge pull request #143 from cmonr/master
80:3996c42f7d49 11 months ago mbed_official Merge pull request #141 from adbridge/master
79:ba828995f32d 12 months ago mbed_official Merge pull request #140 from cmonr/master
78:fd6440fb9e59 12 months ago mbed_official Merge pull request #138 from cmonr/master
77:9ffd4ddf037b 12 months ago mbed_official Updating mbed-os to mbed-os-5.10.0
76:b8641a51336e 13 months ago mbed_official Merge pull request #136 from adbridge/master
75:b827e32e3e2a 13 months ago mbed_official Merge pull request #135 from 0xc0170/master
74:8eaa115f31a3 14 months ago mbed_official Merge pull request #133 from cmonr/master
73:00fa8b8f7ebf 14 months ago mbed_official Merge pull request #131 from cmonr/master
72:6d94d755fbb0 15 months ago mbed_official Merge pull request #130 from cmonr/master
71:24437f8a77a2 15 months ago mbed_official Merge pull request #128 from adbridge/master
70:0c5f9561e5b7 16 months ago mbed_official Merge pull request #126 from adbridge/master
69:1ff487e9be56 16 months ago mbed_official Merge branch 'mbed-os-5.9.0-oob'
68:6b419de492af 16 months ago mbed_official Merge pull request #125 from adbridge/master
67:19fbdbf3bb36 17 months ago mbed_official Merge pull request #123 from adbridge/master
66:e408ae75c632 17 months ago mbed_official Merge pull request #122 from 0xc0170/master
65:caf630d9c605 17 months ago mbed_official Merge pull request #120 from adbridge/master
64:7091d1363acd 18 months ago mbed_official Merge pull request #119 from adbridge/master
63:fafc99ba7d28 18 months ago mbed_official Updating mbed-os to mbed-os-5.8.1 (#117)
62:e9d648b75347 18 months ago mbed_official Update mbed lib to 5.8.0
61:fdd51bb3a950 19 months ago mbed_official Merge pull request #115 from cmonr/master
60:fda7696090e1 19 months ago mbed_official Merge pull request #114 from adbridge/master
59:4c739d732e0d 20 months ago mbed_official Merge pull request #113 from adbridge/master
58:d69d9e148365 20 months ago mbed_official Merge pull request #112 from cmonr/master
57:98afe5d5ae5c 21 months ago mbed_official Readme: remove uvision debug (#111)
56:67611bfa061f 21 months ago mbed_official Updating mbed-os to mbed-os-5.7.3 (#110)
55:31ae47e84e28 21 months ago mbed_official Updating mbed-os to mbed-os-5.7.2 (#109)
54:64a293b4da54 21 months ago mbed_official Updating mbed-os to mbed-os-5.7.1 (#108)
53:1205fa63cbaa 22 months ago mbed_official Merge pull request #98 from adbridge/master
52:22f262b40130 23 months ago mbed_official Merge pull request #95 from adbridge/master
51:b05978d9cf8e 23 months ago mbed_official Merge pull request #94 from adbridge/master
50:84f446a84793 23 months ago mbed_official Merge pull request #93 from adbridge/master
49:7f15ac2a78f5 24 months ago 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
46:9e5c120a82a8 2017-09-29 mbed_official Merge pull request #88 from 0xc0170/master
45:d007f1c934db 2017-09-15 mbed_official Merge pull request #82 from adbridge/master
44:b2244fb266b2 2017-08-30 mbed_official Merge pull request #79 from adbridge/master
43:f8fc29d58d3c 2017-08-14 mbed_official Merge pull request #77 from adbridge/master
42:f39d7abfada9 2017-08-03 mbed_official Merge pull request #76 from 0xc0170/master
41:3f37e8ac5378 2017-07-18 mbed_official Merge pull request #75 from 0xc0170/master