Digital Input Pullup Example for Intel® Galileo Board
This example uses a momentary push button and the serial monitor to view the value of the push button. We are using the code provided under examples for Arduino* IDE.
Hardware
- Intel® Galileo Board
- 10k ohm Resistor
- Wires
- Breadboard
- Momentary push button
Instructions
- Place the momentary push button in the middle of the breadboard with the divider underneath. Make the following connections:
Intel® Galileo Board Breadboard Momentary push button Resistor 5 V Positive strip GND Negative strip Positive strip Left-bottom side Negative strip Right-bottom side Connect Pin 2 Top-right side - Connect the power supply and the USB to 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 > 02.Digital and select DigitalInputpullup.
- Click upload icon.
Circuit

| Note | This image was created using Fritzing*. |
