LED Fade Example for Intel® Galileo Board
This example fades an LED using minimum and maximum values, and uses analog write to set the brightness of the LED. We're using the code provided under the examples for Arduino* IDE 1.5.3.
Hardware
- Intel® Galileo Board
- Breadboard
- Wires
- One LED
Instructions
- Using two wires, make the following breadboard-to-Intel Galileo Board connections:
Breadboard Intel Galileo Board Positive strip 5 V Negative strip GND - Make the following breadboard-to-Intel Galileo Board connections:
Breadboard Intel Galileo Board LED Pin-out 9 Positive leg Negative strip Negative leg - Connect the power supply. The connect the USB to the USB Client Port on the Intel Galileo Board.
- Open Arduino IDE.
- Click Tools > Board and select Intel Galileo.
- Click Tools > Serial Port and select the Com # that the Intel Galileo Board is connected to.
- Click File > Examples > 03.Analog and select Fading.
- Click upload icon.
Circuit
Note | This image was created using Fritzing*. |