LED Fade Example for Intel® Galileo Board

Documentation

Install & Setup

000006293

02/14/2020

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

  1. Using two wires, make the following breadboard-to-Intel Galileo Board connections:
     
    Breadboard Intel Galileo Board
    Positive strip 5 V
    Negative strip GND

  2. Make the following breadboard-to-Intel Galileo Board connections:
     
    Breadboard Intel Galileo Board LED
      Pin-out 9 Positive leg
    Negative strip   Negative leg

  3. Connect the power supply. The connect the USB to the USB Client Port on the Intel Galileo Board.
  4. Open Arduino IDE.
  5. Click Tools > Board and select Intel Galileo.
  6. Click Tools > Serial Port and select the Com # that the Intel Galileo Board is connected to.
  7. Click File > Examples > 03.Analog and select Fading.
  8. Click upload icon.

Circuit


circuit

 

Note This image was created using Fritzing*.