Hi, im trying to test my ultrasonic sensor but it seems its giving me wrong meaurements and it doesnt give small measurments
this is a photo of the code and the outputs
Read How to use this forum then please post the code correctly as described (see point 7).
Steve
Hi,
I used a similar program, but the only difference that I have is I did the ("distance"/2)/29. This is similar to "distance"/58 but u might wanna try that. The reason "distance" /2 is because the "distance" represent the distance the ultrasonic signal transmitted fro and back.
Just my opinion. You can try that.