I did actually see that example earlier, but I decided to make my own, as I need it to be as quick as possible, because I am also running some other timing critical functions, like strobing 3 7seg led displays. On 5/26/05, Scott Dattalo wrote: > Dave Turner wrote: > > Hi again guys, > > > > I am currently working on a software PWM. I got it to work fine with > > 1 pin, and now I'm extending it to 8 pins. > > Dave, > > Rather than answer your question about how one should set a variable bit > in a register, I'll instead point you to another 8-pin PWM routine: > > http://www.dattalo.com/technical/software/pic/pwm8.asm > > Scott > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- Dave All us base are belong to you. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist