Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of HelloWorld by
You are viewing an older revision! See the latest version
Homepage
The most basic "Hello World" program that blinks an on-board LED. (The code is at the bottom of this page)
This code is identical to Simon Ford's /teams/mbed/code/mbed_blinky/ except that it contains a few comment lines.
The mbed library required by this code is: /users/mbed_official/code/mbed/rev/093f2bd7b9eb. This is revision 138 of the official mbed 2 library. Revision 138 was released on 3/19/2017.
You can check this for yourself by inspecting the contents of the mbed.bld file, which points to the associated mbed library. /users/cputalk/code/HelloWorld/file/1e30337600e4/mbed.bld
/teams/mbed/code/mbed_blinky/ is the exact same code (except for less comments) but mbed_blinky is probaly more frequengly updated to associate with the latest available mbed library version.
So, if your compile fails, it's most likely that you are using brand new hardware that was not yet available when revision 138 of the mbed library was released. In that case, simply use the "update library" feature in the online compiler to update to the latest mbed library version.
I will also attempt to update the mbed library version regularly. The latest update was on 3/23/2017 to revision 138.
