User manual
Ausgabe 19.05.2017 Copyright by Joy-IT 22
5.6 Project 6: buon-controled LED
I/O Port is the interface for input and output.
Unl 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 buon and a LED with the input and output to
give a beer unterstanding of the I/O funcon.
Buons have a digital value.
If the buon is pressed, the circuit is closed and gets in a
conducve state.
Hardware Amount
Mega2560 board 1
USB cable 1
LED 1
220Ω resistor 1
10kΩ resisotr 1
Buon 1
Breadboard 1
Breadboard cable 5