How to Blink Multiple LEDs with Arduino Nano | Arduino Nano | INNOVATIVE SCIENTIFIC INVENTIONS |



Hello Friends! Welcome back to 'INNOVATIVE SCIENTIFIC INVENTIONS'.Today I will show you. How to Blink Multiple LEDs with Arduino Nano.


Circuit Diagram:

Code:
/***************************CODE***************************/


int led1 = 10;
int led2 = 11;
int led3 = 12;


void setup() {
  pinMode(led1, OUTPUT);
  pinMode(led2, OUTPUT);
  pinMode(led3, OUTPUT);

}

void loop() {
  digitalWrite(led1,HIGH);
  delay(1000);
  digitalWrite(led1,LOW);

  digitalWrite(led2,HIGH);
  delay(1000);
  digitalWrite(led2,LOW);

  digitalWrite(led3,HIGH);
  delay(1000);
  digitalWrite(led3,LOW);


}


What do you need to Create this Project:

  1. Arduino Nano
  2. LED
  3. Bread Board
  4. Wires


How to Upload Code in Arduino:
  1. Open Arduino IDE.
  2. Paste the code in Arduino IDE.
  3. Compile the Code.
  4. Upload the Code in Board.


How to Select Board:
  1. Open Arduino IDE
  2. Click on 'Tools' Option
  3. Click on 'Board'
  4. Select your Board


How to Select Port:
  1. Open Arduino IDE
  2. Click on 'Tools' Option
  3. Click on 'Port'
  4. Select your Port

How to Save Sketch in Computer:
  1. Open Arduino IDE
  2. Click on 'File' Option
  3. Click on 'Save' Option
  4. Select your Folder

How to 'Save as' Sketch:
  1. Open Arduino IDE
  2. Click on 'File' Option
  3. Click on 'Save as' Option
  4. Select your Folder


IF YOU WANT TO DONATE FOR "INNOVATIVE SCIENTIFIC INVENTIONS" SO PLEASE CONTACT ME.

WHATSAPP: +923110084691

EASY PAISA: +923327810553






           Click Here to Download Arduino IDE  
Arduino IDE Download Link:


Post a Comment

0 Comments