int relay_pin = 12;
int led_pin = 33;
void setup()
{
pinMode(relay_pin,OUTPUT);
pinMode(led_pin,OUTPUT);
digitalWrite(led_pin,HIGH);
}
void loop()
{
digitalWrite(relay_pin,HIGH);
delay(1000);
digitalWrite(relay_pin,LOW);
delay(1000);
}
int relay_pin = 12;
int led_pin = 33;
void setup()
{
pinMode(relay_pin,OUTPUT);
pinMode(led_pin,OUTPUT);
digitalWrite(led_pin,HIGH);
}
void loop()
{
digitalWrite(relay_pin,HIGH);
delay(1000);
digitalWrite(relay_pin,LOW);
delay(1000);
}