Lets Blink LED using Arduino | Basic To Advanced Languages | Arduino Circuit and Programming | IOT | Arduino Tutorials Lessons | Part 1
LED Blinking using Arduino Circuit and Programming We will create a program for LED light blinking using Arduino Uno, first We'll discuss about LED Light Blinking of programming and then we'll put/insert LED light to the Arduino Uno Circuit in last we'll see LED light of blinking of OUTPUT. The Code: int ledpin = 13; void setup() { // put your setup code here, to run once: pinMode(ledpin , OUTPUT); } void loop() { // put your main code here, to run repeatedly: digitalWrite( ledpin, HIGH); delay(1000); digitalWrite( ledpin, LOW); delay(1000); } OR If you directly want to use the pin number instead of variables void setup() { // put your setup code here, to run once: pinMode(13 , OUTPUT); } void loop() { // put your main code here, to run repeatedly: digitalWrite( 13, HIGH); delay(1000); digitalWrite( 13, LOW); delay(1000); }