烧入一下程序后,灯不是一秒亮一秒关,而是大约8秒亮8秒关.
那位大哥能帮忙解答一下为什么会这样?谢了。
int Led = 42;
void setup()
{
pinMode(Led, OUTPUT);
}
void loop()
{
digitalWrite(Led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(Led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}