// declare a variable for the Pin on which LED is connected
// int PinVariableName = PinNumber;
int LEDPin = 13;
// setup() definition
void setup()
{
// put your setup code here, to run once:
// Here, we initialize the pins and other components
// set the pinMode() - inform the board whether the pin 13 is input / output
// pinMode(PinVariableName, OUTPUT / INPUT);
pinMode(LEDPin , OUTPUT);
}
// loop() definition
void loop()
{
// put your main code here, to run repeatedly:
// This code will run again and again, in a loop
// switch on the LED connected on pin 13
// digitalWrite(PinVariableName, HIGH);
digitalWrite(LEDPin , HIGH);
// wait for 1 second
// delay(Miliseconds); // 1 second = 1000 miliseconds
delay(1000);
// switch off the LED connected on pin 13
// digitalWrite(PinVariableName, LOW);
digitalWrite(LEDPin , LOW);
// wait for 1 second
// delay(Miliseconds); // 1 second = 1000 miliseconds
delay(1000);
}