Hello! I have asked the question before but here is some fact: Device: 16F870 In the config line the DEBUG is set to OFF PORTB 0-3 is output PORTB 4-7 is input. To RB6 is a push-button switch connected to ground and pulled up to + 5V via 10k resistor. When i pushing on the button the whole programm stops running. If I changed this switch to RB4 the programm will works ok! Of course, I can use I /O pin RB4 but I want to know how the problem will be solved out. I can=B4t find anything about this in Microchips directions either. Maybe, any members of this list has experience of the problem and will share that with me ? Regards =C5keN -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics