P2 port connector at one end grounded keys 8 as input, of course, need to connect 8 10k resistor to the power supply as the pull-up resistor.
P 2口连接8个一端接地的按键作为输入,当然也需要连接8只10 K的电阻至电源作为上拉电阻。
youdao
应用推荐
模块上移
模块下移
不移动