Running your first sketches
Now that we have everything set up, let's try to run some simple sketches to make you feel more comfortable with the IDE. Here, you'll be testing how to blink and fade an LED.
In these demos, at least for the fade example, you'll need:
- A small breadboard: This type of solderless circuit allows you to build electronic circuits without any soldering while being reusable.
- An LED: We'll use a 5 V LED.
- A resistor: Depending on the LED type, color, and manufacturer, different resistors will be required. To be able to support a wider range of LEDs, let's use a 1 kΩ resistor. This resistor is represented by the color code brown, black, red, and silver, and it will help you avoid damaging the LED.
Blinking an LED
In this example, you'll be blinking an LED repeatedly over time. This is a very simple demo that is used many times as a test to check whether everything is properly configured and running:
- Ensure your Galileo is powered up and the...