But Paul, It fixed it. All I did was turn on the port latch bit and I see 5V on the pin despite the TRISB bit being 1 as well. I can pull it down to ground too. By the way, this brings another question up ... for long run DS-1820 one wire bus signalling a more forceful pull-up is advised. If I change my code to pull the pin up hard for two microseconds, do I need to worry about any side-effects? e.g. (both bits were clear immediately prior) BSF PORTB,0 NOP BSF TRISB,0 The alternative resistive pull-up would be BSF TRISB,0 BSF PORTB,0 -- James Cameron mailto:quozl@us.netrek.org http://quozl.us.netrek.org/