You can easily change the duty cycle, just reload the counters when the edge counter overflows. I think (I haven't looked at Scott's comments recently) the difficult but possible mod was to allow different periods for each output. Josh -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams Philip Galanter wrote: > >http://www.piclist.com/techref/microchip/pwmmult-sd.htm > > Useful, but I'd have to create the "difficult but not impossible" mod > to allow it to change duty cycle on the fly...but a good place to > start...thanks! -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body