How to Blink LED with Arduino Mega | Blink Led With Arduino Mega | INNOVATIVE SCIENTIFIC INVENTIONS |

Hello Friends! Welcome Back to "INNOVATIVE SCIENTIFIC INVENTIONS". Today I will show you. How to Blink LED with Arduino Mega.



Circuit Diagram:





Code:
//CODE


void setup() {

pinMode(LED_BUILTIN, OUTPUT);
}

                         // the loop function runs over and over again forevervoid loop() {
digitalWrite(LED_BUILTIN, HIGH);        // turn the LED on (HIGH is the voltage level)  

delay(1000);                                                 // wait for a second  

digitalWrite(LED_BUILTIN, LOW);        // turn the LED off by making the voltage LOW

delay(1000);                                                // wait for a second

}







 What do need to need to Create this Project:
  1. Arduino Mega
  2.  LED


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