int led=13; void setup() { // put your setup code here, to run once: pinMode(led,OUTPUT); } void loop() { // put your main code here, to run repeatedly: digitalWrite(led,HIGH); delay(2000); digitalWrite(led,LOW); delay(1000); }
################
标签:控制,code,led,digitalWrite,学习,delay,run,LED,your From: https://www.cnblogs.com/herd/p/17471772.html