There's an example in this thread for controlling all three channels on this
PIC. http://www.picbasic.co.uk/forum/show...highlight=hpwm