Intro: Arduino Using MPLAB X
I will be making a simple code to blink a LED using Arduino.
Step 1: Dealing With LED Using Arduino
We will begin by declaring the output pin
Make sure that all the code below is in the void loop
This statement is used to turn ON the LED
This statement is used to turn off the LED
Finally we can put delay(n), where n can be any number depending on the time that we want to run to stop the LED.
Step 2: Sample Code