按鈕模組
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
digitalRead(6);void setup()
{
pinMode(6, INPUT);
}
void loop()
{
if (0 == 1) {
digitalWrite(4, 1);
} else {
digitalWrite(4, 0);
}
digitalRead(6);
}