Test code for DsPIC PWM