// int ledPin = 12;
// void setup(){
// pinMode(ledPin, OUTPUT);
// }
// void loop(){
// digitalWrite(ledPin, HIGH);
// delay(500);
// digitalWrite(ledPin, LOW);
// delay(500);
// }
//---------------------------------------------------------------------//
void setup() {
pinMode(12, OUTPUT); //Set the LED pin as output
pinMode(14, OUTPUT); //Set the LED pin as output
pinMode(27, OUTPUT); //Set the LED pin as output
}
void loop()
{
digitalWrite(12,HIGH); //Turn the LED on
delay(1000); //Wait for 1 second
digitalWrite(12,LOW); //Turn the LED off
digitalWrite(14,HIGH); //Turn the LED on
delay(1000); //Wait for 1 second
digitalWrite(14,LOW); //Turn the LED off
digitalWrite(27,HIGH); //Turn the LED on
delay(1000); //Wait for 1 second
digitalWrite(27,LOW); //Turn the LED off
}
//--------------------------------------------------------------//