Hardware Reference
In-Depth Information
3.2 Digital I/O
In this section, we build a program to access Arduino Digital I/O. In this section, we need
the following components:
• LED
• Push button
• Cables
When a push button is pressed, LED will ON.
Let's start.
3.2.1 Wiring
The demo wiring is simple. Connect your LED to digital pin 8 and push button to digital pin
9. The complete wiring can be seen in Figure below.
A sample of hardware implementation is shown in Figure below.
Search WWH ::




Custom Search