I am trying to use the weak pull-ups in the PIC16F676 device. I have set RAPU*=0, WPUA0=1 (the default) and TRISA0=1. The MPLAB simulator says they are set as I desired. The A port has both inputs and outputs on it. BUT, the real device and the simulator (MPLAB v7.00) do not have them being pulled high. With A0 floating it measures less than 0.5v. I want to avoid an external resistor as a pull-up on switch input if possible. What am I doing wrong? Is there another bit that needs to be set someplace? Thanks, Phil -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist