(Using ICD2 in debugger mode on an 18F8627. MPLAB v8.14) I observe that it is possible to directly change output port states, by changing the value of LATx in the watch window, while the device is (apparently) not executing code. Great! But why is the reverse is not possible, i.e. why are changes to input port states not reflected in the PORTx values in the watch window, unless I execute code that reads the ports? ... In summary: with execution halted, why should a GUI port write operation be possible, and a GUI port read be not? Cheers Matt -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist