Tony Nixon wrote: > >From the data book.... > Port latch = 1 and TRISB = 1 enables weak pullup if RBPU = 0 > You mention that your port latch = 0. Sorry Tony, wrong data book! You are referring to AVR devices, we're talking PICs. Weak pull-up is enabled when RBPU is low and individual TRIS line is high. The port latch status is irrelevant. James, the port B pullups are in the order of 100k; for IÓC you need 4k7. Use resistors. -- Cheers, Paul B.