ForLoop Example for Intel® Galileo Board

Documentation

Install & Setup

000006576

02/12/2020

The ForLoop example uses six LEDs and controls the LED lighting using a for loop. We are using the code provided under the examples for Arduino* IDE 1.5.3.

Hardware

  • Intel® Galileo Board
  • Breadboard
  • Six LEDs
  • Wires

Instructions

  1. Place the six LEDs on the bread board. Notice that the longer leg on the LED is positive, and the shorter leg is negative. Make the following negative connections. When making the Breadboard to LED connections, connect all six LEDs.
     
    Intel® Galileo Board Breadboard LED
    GND pin-out Negative Strip  
      Negative Strip Negative

  2. Make the following positive connections. Connect LEDs from left (LED 1) to right (LED 6).
     
    Intel® Galileo Board LED
    Pin-out 2 Positive LED 1
    Pin-out 3 Positive LED 2
    Pin-out 4 Positive LED 3
    Pin-out 5 Positive LED 4
    Pin-out 6 Positive LED 5
    Pin-out 7 Positive LED 6

  3. Connect the power supply and the USB to 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 > 05.Control and select ForLoop.
  8. Click upload icon.

Circuit
Circuit and breadboard

 

Note This image was created using Fritzing*.