输入输出函数pinMode(pin, mode)将数位脚位(digital pin)指定为输入或输出。如:pinMode(7,INPUT); // 将脚位7 设定为输入模式digita.
確定! 回上一頁