Peter wrote: > Does anyone know the value of the weak pull-ups that can be enabled for > PORTB on the PIC18F452, The data sheet only gives pullup current, from > which I calculated the resistor to be in the region of 500k. Could > anyone confirm this? The data sheet states that the current is a minimum of 50uA and a maximum of 450uA. At 5v, this would give you a minimum of 11.11K and a maximum of 100K Brian. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.