The Analog Input example for Intel® Edison Board uses a potentiometer as an input/output device to control the blinking rate of the LED. We are using the code provided under the examples for Arduino* IDE 1.5.3.
- Intel® Edison Board
- Arduino* expansion board
- One LED
- One 220 Ohm resistor
- Using two wires, make the following breadboard-to-Arduino expansion board connections.
|Breadboard||Arduino expansion board|
|Positive strip||5 V|
- Using the potentiometer, make the following breadboard-to-Arduino expansion board connections.
|Breadboard||Arduino expansion board||Potentiometer||LED||Resistor|
|Pin 13||Positive leg|
|Negative strip||Negative leg||Connect|
|Negative strip||Pin 1|
|Positive strip||Pin 3|
- Connect the power supply and the USB to USB port on the Arduino expansion board.
- Open Arduino IDE. Click Tools > Board and select Intel® Edison.
- Click Tools > Serial Port and select the Com # that the Intel Edison board is connected to.
- Click File > Examples > 03.Analog and select AnalogInput.
- Click upload icon.
|Note||This image was created using Fritzing*.|