Stirrings from long ago. Idea starters. Or not. Writing to a control register may affect pin level differently depending on what is in the pin's data register. Without looking at your PIC I don't know if there is any way that this may be applied but it may be adding or removing a pullup, converting from input to output etc. Also, in the definitely naughty department:: - Behaviour of a pin that varies depending on external load level. - RMW attributes in conjunction with any above. R --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .