Arduino UNO/Nano主控板,电路如下图所示,通过7引脚获取按键的返回值,下列选项中,关于引脚模式设置正确的是?( )
pinMode(7,INPUT)
pinMode(7,OUTPUT)
pinMode(7,INPUT_PULLUP)
pinMode(7,INPUT_PULLDOWN)