const int LED =13; //It takes LED as integer and fixed it's value to 13(non-changable). void setup() // Main setup of program is written here { pinMode(LED,OUTPUT); //It simply set pin 13 as output for LED. } void loop() // It simply repeat/run the program over and over until power is removed. { digitalWrite(LED,HIGH); //It simply set voltage at pin 13 to 5v means ON state. delay(1000); ...

Comments
Post a Comment