You are viewing an older revision! See the latest version
Program1_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.
- Import Program1_Blinky to your online compiler. Make sure you can see the NUCLEO-F429ZI target on the top right.
- Press Compile. A file downloads (mbed-os-example-blinky_NUCLEO_F429ZI.bin).
- Drag the file to the 'NODE_F429ZI' disk. The LED on the board will flash.
- After flashing, hit the 'Reset' button to start the program.
- Program1_Blinky runs!
More instructions for using the mbed Online Compiler can be found at mbed Compiler
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