User manual

Ausgabe 19.05.2017 Copyright by Joy-IT 22
5.6 Project 6: buon-controled LED
I/O Port is the interface for input and output.
Unl now we have just used the output.
In this project we will try to use the input to read the value of
the connected component.
We will use a buon and a LED with the input and output to
give a beer unterstanding of the I/O funcon.
Buons have a digital value.
If the buon is pressed, the circuit is closed and gets in a
conducve state.
Hardware Amount
Mega2560 board 1
USB cable 1
LED 1
220Ω resistor 1
10kΩ resisotr 1
Buon 1
Breadboard 1
Breadboard cable 5