The wall racer code contains subroutines that do all the bang/bang controls by switching DC current through relay DPDT switches

The 16F887 has CCP1 and CCP2 each of which can be controlled by the HPWM Pic Basic Command. I could replace the six subroutines above with six that use HPWM. They would use these two outputs with three pulse widths each.

If I were to add a parameter to each GOSUB command thereby giving more nuance to the pulse width I could command in between wheel speed and steering angle.

Sounds like a piece of cake. What do you think?

Ken