In a message dated 02/13/2003 18:40:01 Eastern Standard Time, dans_pic_stuff@HOTMAIL.COM writes: > i.e. Can I set the output pins and let the hardware maintain the PWM pulses > indefinitely without having to do any looping? > Thanks for any advice. > > I'm not familiar with the 628, but if it has a CCP1 and a CCP2 module you can output PWM continuously in the background while the program does something else. You will have to use the HWPM command - make sure it is structured correctly, pin, duty cycle, frequency. CCP1 and CCP2 modules are usually on C.2 and C.3 Sid -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.