> All I can think of are the obvious causes: TRISB not set right? > Some peripheral overriding RB10? Done some more testing. The problem appears to be confined to RB <11:8>, or the 3rd nybble of LATB. Every other LATB pin responds to bclr/bset. If you touch an attached scope probe it suggests that these 4 pins are inputs, despite the CLR TRISB Haven't found anything yet to indicate there's something special about them Tried 2 other ICs straight out of the tube, and stripped the code down too, skipping LCD and remapping sections Joe * * ********** Quality PIC programmers http://www.embedinc.com/products/index.htm --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .