ESP32 for Arduino,读取按键开关S1的返回值,电路搭设如图所示,程序pinMode(4,mode);中mode的值应是?
INPUT
OUTPUT
INPUT_PULLUP
INPUT_PULLDOWN