Mistake on this page?
Report an issue in GitHub or email us

Importing code

There are two methods of importing the code into the online compiler: directly from a program presented on the site, or using the compiler’s Import button:

  1. Directly from the site: wherever you see a program on the site, you should see an Import into Mbed IDE button:

    Most code snippets on the site can be directly imported

    Clicking that button will take you to the compiler; you can then give the program a new name and import it to your workspace:

    Importing to the Mbed Online Compiler

  2. The compiler's Import button: click the Import button in the compiler to open the Import Wizard:

    Triggering the Import Wizard from within the Mbed Online Compiler

    You can search for a program by name, or perform an empty search to show all available programs:

    The applications list

    Double click a program to import it.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.