pinMode(intPin, INPUT_PULLUP); //enable pull-up resistor of input pin digitalWrite(ledPin, ledState); //set LED OFF
確定! 回上一頁