Arduino UNO/Nano主控板,按键开关电路搭设如下,使用digitalRead(6)获取按键值,下列说法正确的是?
内部上拉电阻电路,按键开关闭合时返回值为0
内部上拉电阻电路,按键开关闭合时返回值为1
下拉电阻电路,按键开关闭合时返回值为0
下拉电阻电路,按键开关闭合时返回值为1