On Mon, Dec 20, 1999 at 10:21:27AM +1100, Tony Nixon wrote: > Port latch = 1 and TRISB = 1 enables weak pullup if RBPU = 0 Doh. Thanks. So if RBPU is zero ... Port Latch Tris Bit Result 0 0 Pin connected to Vss 1 0 Pin connected to Vdd 0 1 Pin open 1 1 Pin weakly pulled up -- James Cameron mailto:quozl@us.netrek.org http://quozl.us.netrek.org/