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.

  1. Import Program1_Blinky to your online compiler. Make sure you can see the NUCLEO-F429ZI target on the top right.
  2. Press Compile. A file downloads (mbed-os-example-blinky_NUCLEO_F429ZI.bin).
  3. Drag the file to the 'NODE_F429ZI' disk. The LED on the board will flash.
  4. After flashing, hit the 'Reset' button to start the program.
  5. Program1_Blinky runs!

All wikipages