> > The only downside I can see is that using 1k it draws 5mA > for each pin > that's being pulled high but driven > > low, and if you have a whole 8-bit port like this it's getting to be > quite a drain on power, so not a Good > > Thing for a battery-operated device. > > No, actually it doesn't. When the pin is in input mode, it is high > impedance and consumes virtually no power (sub nA?). :-) The previous poster was talking about the situation where the pin is pulled high by the 1k resistor and driven low by the PIC. In that situation it indeed consumes (almost) 5 mA. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist