help me please

hello every body iam working on atmega8 i need bascom code for making distance meter by using ultrasonic if any on can help me plaese help