I use the PIC16F877A to program the PING))) ultrasonic sensor,but can not work. Can tell me what happen?
No, not from that information. I would suggest you go to a PIC forum and ask there. There is documentation on the ping))) on the parallax website that you can use to see how it works and what you need to do to read it.
Comments
I think you mean: you triggered and wait for a response on the ping sensor with a PIC MP. right ?
If so .. did you pulsed out for the ping ? and right after that you turned you pin into an input ?
Amaral