Hello Friends! Welcome back to 'INNOVATIVE SCIENTIFIC INVENTIONS'. Today I will show you. How to Blink LED with Arduino Nano.
Circuit Diagram:
Code:
//CODE//LED PIN = D13
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void 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 you need to Create this Project:
- Arduino Nano
- LED
- Bread Board
- Wires
How to Upload Code in Arduino:
- Open Arduino IDE.
- Paste the code in Arduino IDE.
- Compile the Code.
- Upload the Code in Board.
How to Select Board:
- Open Arduino IDE
- Click on 'Tools' Option
- Click on 'Board'
- Select your Board
How to Select Port:
- Open Arduino IDE
- Click on 'Tools' Option
- Click on 'Port'
- Select your Port
How to Save Sketch in Computer:
- Open Arduino IDE
- Click on 'File' Option
- Click on 'Save' Option
- Select your Folder
How to 'Save as' Sketch:
- Open Arduino IDE
- Click on 'File' Option
- Click on 'Save as' Option
- Select your Folder
IF YOU WANT TO DONATE FOR "INNOVATIVE SCIENTIFIC INVENTIONS" SO PLEASE CONTACT ME.
Video Link: https://youtu.be/Uww_U4MNAPM
0 Comments