A quick reminder on pull-up and pull-down resistors ... (buttonState == LOW) { // Switch on the led digitalWrite(ledPin, HIGH); } else { // Switch off the ...
確定! 回上一頁