MOVED: How to calculate distance using arduino

This topic has been moved to Programming Questions.
Inappropriate section