Learn Arduino : Led Blink Program With Arduino

Thanks for Visiting here

Print Friendly and PDF

 Learn Arduino: Led Blink Program With Arduino



Led With Arduino

Is Post me hmlog ek LED ko arduino ke connect kar ke unsko blink krwane wale hai jisme ki LED 1 secons ke liye off hoga aur ek second ke liye on hoga is prakar se LED blick krte rahega

Wiring :- 

Ab hm LED and Arduino ka wiring dekhne wala hai 

LED pin

Arduino Pin

+ ve

13

-ve

GND


LED wiring with Arduino

Coding 

// C++ code
//
void setup()
{
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop()
{
  digitalWrite(LED_BUILTIN, HIGH);
  delay(1000); // Wait for 1000 millisecond(s)
  digitalWrite(LED_BUILTIN, LOW);
  delay(1000); // Wait for 1000 millisecond(s)
}


Thanks For Reading 😝

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.