Circuiteffectsprojects


 Hello friends



Circuit diagram





Arduino Code


    digitalWrite(LED4, LOW);
  }
  if ( distance <= 35 )
  {
    digitalWrite(LED5, HIGH);
  }
  else
  {
    digitalWrite(LED5, LOW);
  }
  if ( distance <= 42 )
  {
    digitalWrite(LED6, HIGH);
  }
  else
  {
    digitalWrite(LED6, LOW);
  }
  if ( distance <= 49 )
  {
    digitalWrite(LED7, HIGH);
  }
  else
  {
    digitalWrite(LED7, LOW);
  }
}






Thanks for watching video 

Comments

Popular posts from this blog

how to install pcb circuit board esp8266- ESP12E nodemcu module | esp12 complete circuit diagram

single button on off switch || toggle push button switch on off using cd4017ic | projects