Jan-Erik Soderholm wrote: > It seemed so. The PIC will drive the pins, but the pin-values can not > be read back. Which is what happens in real-life, and what MPSIM also > told you. Now *I* learned something... although on the other hand, I may have already known this if I would have thought about it, since I knew that you could actually drive an output high with the ADC on, and then read-back the voltage on the pin using the ADC. -forrest -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist