Hello World Example for Intel® Galileo Boards


Install & Setup



Pin 13

This content might look familiar if you've completed Intel® Galileo Board Getting Started.

Pin 13 has an LED connected to it. You can run your first sketch by accessing this onboard LED. This is the first step in connecting external LEDs and modules.

Most LEDs are sensitive when it comes to electricity. Just like the board, LEDs have a maximum amount of voltage they can take before they heat up causing damage. As an engineer, you learn to calculate the amount of resistance against the voltage to allow the right amount of current to flow throughout your circuit. Doing so keeps your equipment at a good temperature and under control. A resistor is used to limit the amount of current within a circuit.

Load sketch

The Arduino* software comes with code examples showing how to use some of the available modules for the Intel® Galileo Board. To run your first sketch, go to File > Examples > 01.Basics > Blink.

You should already have a connection with the serial port. To confirm, check out the bottom right side of the Arduino Integrated Development Environment.

Serial Port

Your serial port ID might be different. Simply select the one starting with cu.usbmodem. If you are using Windows*, the port begins with COM.

When you're ready to run your sketch, go to: File > Upload.

Note When selecting Upload through the file menu, you may see the keyboard shortcut for this action. Memorize keyboard shortcuts to make effective use of your time.


Once the sketch uploads, you should see an LED on the board blinking. This blinking LED is programmatically associated with pin 13.

LED location highlight

What happens when you upload a sketch to the Intel® Galileo Board?

First, the sketch gets compiled and stored into a temporary file. If there is a current sketch running on the Intel Galileo Board, it stops. The software then copies the sketch to a file that loads and starts the new sketch.

Getting Started
The Arduino IDE
Hello World
Wrap Up