int nutnhan = 13;
int trangthai = 0;
int relay = 12;
int led;
int sang;
void setup()
{
  pinMode(nutnhan, INPUT);
  pinMode(relay, OUTPUT);
 
   }

void loop()
{
  digitalWrite(relay, HIGH);
  delay(100);
  digitalWrite(relay, LOW);
  delay(100);
  }


NOCOMNCVCCGNDINLED1PWRRelay Module