I don't know if I could afford that Keith

I think Steve's circuit will invert the output, so I'll need to reverse the pulse in the program to be able to use that.

And you need an input circuit. I was thinking something like the circuit below might be nice. And, I'll need to make it use the GP0 input to determine what the Idle polarity is.

I smell a Version 3.

I tried something else, then realized it wouldn't work.
What do you think about this one.

Click Image to Enlarge

Click Image to Enlarge