When the Port pin is at Logic 1, you won't be able to drive a load. You will only be able to sink current into the pin when it is set as an output Logic 0. The RMW problem is only of consequence when you intend changing the TRIS register. Just write a known value to the Port before changing pins to Outputs. Regards Tony PicNPoke Multimedia 16F84 Beginners PIC Tools. **PLUS** - PicNPlay - PicNPlan - PicNPrep - PicNPost PicNPort - DT Type Saver - *new* PicNQuiz. Recent addition - Hex To Source converter. http://www.picnpoke.com Email picnpoke@cdi.com.au