Guide

1/12/2018 mbed Starter Kit Experiment Guide - learn.sparkfun.com
https://learn.sparkfun.com/tutorials/mbed-starter-kit-experiment-guide/all 10/65
330 ohm resistors
10k ohm resistors are given by the color code “brown black orange.”
10k ohm resistors
The Code
If you have not done so already, sign into your mbed.org account. Go to the Compiler and create a new program. Leave the template as “Blinky LED Hello
World” and give it a name such as “rgb_buttons.” Click OK and wait for your new program to be created.
Once that is done, click “main.cpp” under your project folder (e.g. “rgb_buttons”) in the left “Program Workspace” pane. Delete all of the code in main.cpp so you
are left with a blank project (we still want to use the “Blinky LED Hello World” template, as it automatically links “mbed.h” for us).
Program
Copy the following code into main.cpp of your rgb_buttons project.