This example code show how to control Pan/Tilt mechanism using analog distance sensors (Sharp GP2Y0A21YK)