int ledPin = 13;
void setup()
{
pinMode(ledPin, OUTPUT);
}
void loop()
{
digitalWrite(ledPin, HIGH);
delay(5000);
digitalWrite(ledPin, LOW);
delay(5000);
}
I NEED THIS CODE , PRINT THE DELAY TIME. WHAT IS THAT CODE.
int ledPin = 13;
void setup()
{
pinMode(ledPin, OUTPUT);
}
void loop()
{
digitalWrite(ledPin, HIGH);
delay(5000);
digitalWrite(ledPin, LOW);
delay(5000);
}
I NEED THIS CODE , PRINT THE DELAY TIME. WHAT IS THAT CODE.
Maybe you can find some inspiration in the links on Serial reference
How is this a troubleshooting question or an installation question?
And please read How to use this forum - please read; specifically point #7 about posting code.
I NEED THIS CODE , PRINT THE DELAY TIME. WHAT IS THAT CODE.
Do you just want to print 5000 or do you want to print a count down or count up during the period ?
int ledPin = 13;
void setup()
{
Serial.begin(115200);
pinMode(ledPin, OUTPUT);
}
void loop()
{
Serial.println(5000);
digitalWrite(ledPin, HIGH);
delay(5000);
digitalWrite(ledPin, LOW);
delay(5000);
}