We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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;
What derivative are you using, none of "my" '51s have CRCL, and CCEN = 0x08 Erik