MansiDesh
Published

Led Interfacing

Simple single LED interfacing with arduino uno with delay of one second. Basic interface for monitoring purpose.

BeginnerProtip416
Led Interfacing

Things used in this project

Story

Read more

Schematics

Led interface

Code

Led Blinking

C/C++
int ledpin = 13;                      //set pin no of ardinuo to which led is connected  
void setup() {
  pinMode(ledpin, OUTPUT);            // initialize digital pin LED_BUILTIN as an output.
  
  
  
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(ledpin, LOW );    // turn the LED off by making the voltage LOW
  delay(1000);
  digitalWrite(ledpin, HIGH);    // turn the LED ON by making the voltage HIGH
  delay(1000);                
  }

Credits

MansiDesh

MansiDesh

0 projects • 0 followers

Comments