WEBINAR "Learn to Crack an Interview of a Graphic Designer" - Will be held Friday, 06:00 PM onwards Enroll Now
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.
LEDs are light-emitting diodes that have many different types. There are three types of LEDs:
Have a friend to whom you would want to share this course?