//Hello mt name is Hany Hamed //This code is example to show you how to write your code in arduino //First Initialize the pin that the led connected to that it is pin 13 int led = 13; void setup() { // put your setup code here, to run once: //Make the pin 13 as an Output //but Notice that the OUTPUT word must be capital pinMode(led,OUTPUT); } void loop() { // put your main code here, to run repeatedly: //first we need the led to turn on digitalWrite(led,HIGH); //and we wait for 1 second //1 second =1000 milliseconds //delay works with milliseconds delay(1000); //then turn off the led digitalWrite(led,LOW); //wait for 1 second delay(1000); }