hi sir/mam,
i want interface ultrasonic sensor with msp430g2553, i have tried in many ways but i am not getting output .i checked the output on cro when object in front of it and i got the output, but i want to calculate the time elapsed between in transmission and reception on echo pulse . so that i can calculte the dostance , but the main problem how to calculate the time . how to use the TAR and TACCTL0 for distance calculation , please help me i am sticking at this point , please help me .
i have attached my program .
thanks
Unable to find an attachment - read this blog