I am working of a 16C617 project and have been dealing with some annoying behavior on Port B. I am using B:3 as a PWM output. Everytime that I write to a*different* Port B pin, I have to reinitialize B:3 high to unclamp the PWM output. Is this some sort of byproduct of the Read:Modify:Write issue, and does anyone know of a handy avoidance technique? Thanks, Edward Gisske, P.E. Gisske Engineering 608-523-1900 gisske@offex.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.