Forum Discussion
Altera_Forum
Honored Contributor
13 years agoYou will probably want to find your distance in 10s of mm so your math is much easier (no need for fixed point math). You will end up with distance <= (echo_counter/29);
At this point, you will probably want to write a pipelined division routine to get you your result. Just keep working at it, you'll get there. Good luck.