Single pin Port Manipulation

Thanks for the help all.

Which would make me wonder why you want to do port maniuplation if you are okay with using digitalWrite().

I'm having a hard time tweaking the IR code using digitalWrite. Sometimes it works, sometimes it doesn't. I think writing to the ports will allow more accurate timing.