So i managed to change my projects pinout so that neither timers 2 or 3 are used for ouput and I have assigned 2 to the IR library and 3 to the SoftPWM library. The problem occurs when the duty cycle of the SoftPWM output pins are above 2% and what happens is that the IR remote is no longer being decoded, i suspect this is because timer 3 is flashing faster than the timer 2 IR decode transmitter.
My question is, is there a way to modify the SoftPWM library so that when an IR code is being decoded, to pause itself? I could possible attach the IR signal pin to an interrupt and do it that way (is this possible?) but I wanted to see if anyone here has any good suggestions.