Hello!
Once the command "servo" and “pwmout" do not work simultaneously because they depend on the same timer, this causes limitations in the programs that use these two commands.
Why not make the separation of the timers, in particular X2, since the PIC 18F have multiple timers.
Thanks
ams