Distance Measurement using HC-SR04 and AVR Microcontroller

Submitted by James245 on

Hi, I am planning to use LED to indicate the distance. For example, the nearer the distance between object and ultrasonic sensor, more led will light up. How can I modify this code  to use led to determine distance instead of using the LCD?

Aswinth Raj

  Joined August 16, 2016      1000

Tuesday at 12:29 AM

Which code are you talking about? Please be more precise when posting you questions on forums. 

Add New Comment

Login to Comment Sign in with Google Log in with Facebook Sign in with GitHub