Yes, you got it. I didn't know you were doing PWM though. As I said in my original post, it was just an idea that struck me as I was reading your post :) Josh -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams Daniel Rubin wrote: > Thanks for your input... What do you mean by tristate? Is there another > state besides on and off? Are you saying I do the following: > > disable outputs > write W to GPIO > enable outputs > > If that is what you are referring to I am not sure that is possible as this > output is PWM and the extra 2 instructions per toggle would cut my possible > rate. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu