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;
hello, i dont know whether you're still working any way me i have a problem to generate a square pulse with 25khz using the PCA specifically the pwm of the (AT89C5115) de ATMEL, mais j'arrive pas ...? thankx in advance