Hi, I'm kinda new to this PWM programming (And microboard program). But I've figured out the next code should start a PWM-signal.
// timer 2 initialise T2CON = 0x11; // reload value CRCL = 0x50; CRCH = 0xC9; // compare value CCL1 = 0x18; CCH1 = 0xFC; // P1.1 ??? CCEN = 0x08;