Arduino Interface – LED

Turn On/Off LED

  • For turn OFF LED – Set digital pin Low digitalWrite(LED_BUILTIN, LOW);
  • For turn ON LED – Set digital pin high digitalWrite(LED_BUILTIN, HIGH);


Blink LED

 

Blink LED using Delay Function in loop

Circuit

 

Schematics

 

Code

 

Result

 


Blink Without Delay function in loop

 

Schematics

Code

 

Result

 


Blink LED using Timer and Delay Function

  • Circuit, Code will add soon.

 


LED Fade

Circuit

 

Schematics

 

Code

 

Result

 


LED ON/OFF Using Single Button

Circuit

Schematics

 

Code

 

Result

 


 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

if you have any queries call us +918300026060 or WhatsApp Dismiss

0

Your Cart

%d bloggers like this: