Distance Measurement using HC-SR04 and AVR Microcontroller

James245's picture

Offline

Joined: Oct 04, 2018

Replies: 2
Distance Measurement using HC-SR04 and AVR Microcontroller
October 11, 2018 - 9:58pm

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's picture

Offline

Joined: Aug 16, 2016

Replies: 798
Which code?
October 12, 2018 - 10:34am

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