Way too complex a solution!!!

Two Resistors (say 330R each but probably you might get away with 1K, 4K7 or even 10K but you will have to try and see). The Resistors are connected in series. One chain end to +5v, the other end to 0v. The mid-point is connected to both your PIC pin and your chip pin.

With the PIC pin set to INPUT (high impedance), the mid point will be 2.5v (idle state).

PIC pin toggles between INPUT and OUTPUT-LOW, the pin will toggle between 2.5v and 0v (Negative going pulses).

PIC pin toggles between INPUT and OUTPUT-HIGH, the pin will toggle between 2.5v and 5v (Positive going pulses).