Hi guys! This is my first time in this website. Just newly found out this community of robot enthusiasts, so I guess, and I hope you can help me with this problem, and by the way, I'm also a beginner of this one..
I just brought an ultrasonic sensor. Well it's working well after testing it with a code. But once I put some "if, else" statements, it's giving me inaccurate distances...
for instance... if I give the loop as ReadDist(); (// It is assumed that I've already put the right code for the Ultrasonic Sensor).