SEARCH
TOOLBOX
LANGUAGES
modified on 1 June 2015 at 14:00 ••• 52,238 views

Bambino-210 Manual/Getting Started

From Manuals

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
[[Category: Bambino-210_Manual|02]]
[[Category: Bambino-210_Manual|02]]
==Getting Started==
==Getting Started==
 +
This section explains how to develop programs for the Micromint Bambino using the mbed online compiler. Using an online compiler is a great way to get started with mbed development, as no local program installations are required on your system. The editor, compiler and linker are maintained by the mbed team and accessible via your Internet connection. The [[Bambino-210_Manual/Offline Toolchains|next chapter]] will cover offline toolchains for projects that require use of a compiler and debugger installed on your system.
 +
===Setup mbed.org Account===
 +
To use the online compiler you first need a developer account at mbed.org. If you have not done so, please visit [http://developer.mbed.org mbed.org], click on "Signup" and follow the steps to create an account. If you already have an account, login using your mbed username.
 +
===Add Micromint Bambino Platforms===
 +
The Micromint Bambino has two USB ports: USB0 for use by your mbed applications and USB1 for mbed development. When you connect your system to USB1 it will recognize the board as a removable flash drive to copy your programs and a serial port that can be used for program output. To add the board to the online compiler, click on the mbed.htm file in the removable flash drive detected by your system.
-
===Install System Files===
+
[[Image:mbed-flash-drive.png|center|alt=mbed HDK Flash Drive|frame|<div align="center">'''mbed HDK Flash Drive]]
-
===Run Test Application===
+
Equivalent links are included below.
 +
[http://mbed.org/device/?code=16050201FD558B745C668E73 Add Micromint Bambino 210E]
 +
 +
[http://mbed.org/device/?code=16000201FD558B745C668E78 Add Micromint Bambino 210]
 +
===Create Project===
 +
Enter the online compiler by selecting the "Compiler" button on the development site.
 +
 +
 +
#include "mbed.h"
 +
 +
DigitalOut myled(LED2);
 +
 +
int main() {
 +
    while(1) {
 +
        myled = 1;
 +
        wait(0.8);
 +
        myled = 0;
 +
        wait(0.8);
 +
    }
 +
}
----
----
[[Bambino-210_Manual/Offline Toolchains|NEXT: Offline Toolchains]]
[[Bambino-210_Manual/Offline Toolchains|NEXT: Offline Toolchains]]
[[Bambino-210_Manual/Introduction|PREVIOUS: Introduction]]
[[Bambino-210_Manual/Introduction|PREVIOUS: Introduction]]

Revision as of 23:57, 20 January 2015

Contents

Getting Started

This section explains how to develop programs for the Micromint Bambino using the mbed online compiler. Using an online compiler is a great way to get started with mbed development, as no local program installations are required on your system. The editor, compiler and linker are maintained by the mbed team and accessible via your Internet connection. The next chapter will cover offline toolchains for projects that require use of a compiler and debugger installed on your system.

Setup mbed.org Account

To use the online compiler you first need a developer account at mbed.org. If you have not done so, please visit mbed.org, click on "Signup" and follow the steps to create an account. If you already have an account, login using your mbed username.

Add Micromint Bambino Platforms

The Micromint Bambino has two USB ports: USB0 for use by your mbed applications and USB1 for mbed development. When you connect your system to USB1 it will recognize the board as a removable flash drive to copy your programs and a serial port that can be used for program output. To add the board to the online compiler, click on the mbed.htm file in the removable flash drive detected by your system.

mbed HDK Flash Drive
mbed HDK Flash Drive

Equivalent links are included below.

Add Micromint Bambino 210E

Add Micromint Bambino 210

Create Project

Enter the online compiler by selecting the "Compiler" button on the development site.


#include "mbed.h"

DigitalOut myled(LED2);

int main() {
    while(1) {
        myled = 1;
        wait(0.8);
        myled = 0;
        wait(0.8);
    }
}

NEXT: Offline Toolchains

PREVIOUS: Introduction