distance sensor sample programs