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