標(biāo)題:
arduino板LED燈13號(hào)端口延時(shí)1秒的簡單代碼
[打印本頁]
作者:
13417685659
時(shí)間:
2020-11-10 08:48
標(biāo)題:
arduino板LED燈13號(hào)端口延時(shí)1秒的簡單代碼
int ledPin = 13;
void setup()
{
pinMode(ledPin,OUTPUT);
}
void loop()
{
digitalWrite(ledPin,HIGH);
delay(1000);
digitalWrite(ledPin,LOW);
delay(1000);
}
復(fù)制代碼
歡迎光臨 (http://www.torrancerestoration.com/bbs/)
Powered by Discuz! X3.1