Bambino-210 Manual/Getting Started
From Manuals
| Line 2: | Line 2: | ||
==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. No local program installations are required on your system. The editor, compiler and linker are maintained by the mbed team and accessible via any 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. | 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. No local program installations are required on your system. The editor, compiler and linker are maintained by the mbed team and accessible via any 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. | ||
| - | === | + | ===Activate 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. | 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=== | ===Add Micromint Bambino Platforms=== | ||
| Line 15: | Line 15: | ||
[http://mbed.org/device/?code=16000201FD558B745C668E78 Add Micromint Bambino 210] | [http://mbed.org/device/?code=16000201FD558B745C668E78 Add Micromint Bambino 210] | ||
===Create Project=== | ===Create Project=== | ||
| - | Enter the online compiler by selecting the "Compiler" button on the development site. | + | Enter the online compiler by selecting the "Compiler" button on the development site. Right click on "My Programs" and select "New Program...". |
| + | |||
| + | <div align="center">[[Image:mbed-new-program.png|center|alt=mbed New Program|'''mbed New Program]]</div> | ||
| + | |||
| + | |||
| + | Select a name for your program such as "blink" | ||
Revision as of 00:06, 21 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. No local program installations are required on your system. The editor, compiler and linker are maintained by the mbed team and accessible via any Internet connection. The next chapter will cover offline toolchains for projects that require use of a compiler and debugger installed on your system.
Activate 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.
Equivalent links are included below.
Create Project
Enter the online compiler by selecting the "Compiler" button on the development site. Right click on "My Programs" and select "New Program...".
Select a name for your program such as "blink"
#include "mbed.h"
DigitalOut myled(LED2);
int main() {
while(1) {
myled = 1;
wait(0.8);
myled = 0;
wait(0.8);
}
}


