Description

What is LED and How to implement it?

Let’s see how we can code a basic program of LED that blinks it on and off.

Here, we are using Arduino UNO. You can define the function of pin and pin number in pinMode. Now what you want to perform on LED, that code will come in a void loop. Write code as per your specific requirements or as per video.

After writing code, go to tools and select Arduino UNO board. Then select COM as COM3. Upload your program. Before uploading, it will ask where you want to save it. Save it, and your program will start compiling. After that, it will upload.

See, your LED is ON at 13 number pin. To make it OFF, change your code accordingly.

FAQs

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
297K+ Downloads
App Download Section Circle 1
4.5 Rating
App Download Section Circle 2
10K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere