LED blink project using arduino uno - by "VISION36":
IN THIS BLOG WE WILL BE MAKING A BASIC ARDUINO PROJECT TO GET OURSELVES FAMILIAR WITH ARDUINO MICRO_CONTROLLERS AND IDE WITH THIS BLOG
*COM0PONENTS :
ARDUINO UNO
LED
connect pin 13 to positive of led and connect gnd to negative of led
OPEN ARDUINO IDE AND UPLOAD THE CODE GIVEN BELOW :
void setup() {
pinMode(13 , OUTPUT);
}
void loop() {
digitalWrite(13 , HIGH);
delay(500);
analogWrite(13 , 50);
digitalWrite(13, LOW);
delay(500);
}
now the led should be blinking right now ,,
Comments
Post a Comment