Introduction - If you have any usage issues, please Google them yourself
Let's try to use the input function of the I/O port of Arduino, that is, to read the output value of the external device. We use a button and a LED lamp to complete an input and output experiment.