Does it have to be done in your 16F873A? You can program a 12F629 to be a slow PWM module (doing the work in software) fairly easily and then control the 12F629 from the main pic. Jason ----- Original Message ----- From: "Robert B." To: Sent: Thursday, April 22, 2004 9:18 AM Subject: [PIC:] Slow PWM signal in hardware > I need a PWM signal with the following specifications (from the > manufacturer): period 17ms, minimum duty 1ms, maximum duty 2ms. > > I'm using a PIC16F873A on this project, and would really really really like > to generate the PWM in hardware. Reading the chip's datasheet implies that > the slowest PWM signal on the CCP1/2 is 1.2kHz (about 20x too fast). Are > there any clever tricks that can slow it down to about a 17ms period? All > the timers and interrupts are free for use, but like I said if there's a way > to get the PWM module to do it that would be ideal. If all else fails I can > cobble together an interrupt to do it, but the code is fairly time critical > so it would need to be really quick. > > Thanks! > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.