This is a very simple guide, reviewing the steps required to get Blinky working on an Mbed OS platform.
You are viewing an older revision! See the latest version
Homepage
mbed OS Blinky¶
This is one of the simplest examples of mbed OS. It shows the use of a DigitalOut object to represent an LED and the non-blocking Thread::wait()
call. This is good practice as if there were other threads, they could be scheduled and run while the first thread is waiting.
Building this example¶
Building with mbed CLI
If you'd like to use mbed CLI to build this, then you should follow the instructions in the Handbook TODO - new link. The instructions here relate to using the developer.mbed.org Online Compiler
If you'd like to use the online Compiler, then you can Import this code into your compiler, select your platform from the top right, compile the code using the compile button, load it onto your board, press the reset button on the board and you code will run. See the led blink!
More instructions for using the mbed Online Compiler can be found at TODO - update this