the maximum pin's sink current is 25mA (P16F628)..i would like to know what is the i2 value shown in the picture (what is portB resistance?)...
i am using the pushbutton as to give (1=high)...
It's a CMOS input, so it's VERY high - there might be some sort of range specified in the datasheet?, look in the electrical specs at the back. Generally there's no need whatsoever to want to know - it's high enough to ignore, certainly multi-megaohm.