Understanding the Pull-up/Pull-down Resistors With Arduino

上拉电阻和下拉电阻