Distance Measurement using HC-SR04 and AVR Microcontroller

Submitted by James245 on Thu, 10/11/2018 - 21:58

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?

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

  Joined August 16, 2016      998
Tuesday at 12:29 AM