In the setup() function, we set the button pin as a digital input and we activate the internal pull-up resistor using the INPUT_PULLUP macro.
確定! 回上一頁