> Is this a PIC18 ? (Don't remember) Yes, PIC18F4523. > Are you monitoring PORTC or LATC ? > Probably PORTC, right ? PORTC > Note that monitoring RC1 when set as *input* will probably > not correctly show what you are writing to the output latch. > Just as in real life, reading from a pin set as input will > always read what is on the actual *pin*, not what was written > to the latch (LATx). > > If you change your monitoring to LATC.1, you might see > the actual change also... I'm monitoring PORTC. RC1 in particular. All PORTC pins are set as input. RB1 is the output that gets updated with the value seen at RC1. RB1 =3DRC1; It's my understanding that the LATx registers are only used for outputs. LATC shouldn't have any bearing in this case since RC1 is an input. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .