My problem was that the length of the PULSOUT pulse was way toooo long. This was true even if I did a PULSOUT trigfront, 1. I have no explanation for that behavior of a 16F887.

So I changed PULSOUT to:


HIGH trigfront
PAUSE 1
LOW trigfront.
Followed by a PULSIN.

Why? I am modifying a hobby level radio control car to toggle between RC and autonomous control. The project has been the theme of
"PBP projects for R/C models" thread for a some months.

With the above fix the car seems to respond correctly on its blocks with me moving a oak cutting board in front and on the right side to simulate the inside a room with no furniture.

Thanks, gang. Whoever you are.

Ken