Hello ! I have a big problem with a circuit and the 16F870. I have connected a push-button switch to ground and pulled up with a 10 k=20 resistor to +5V to get 0V input. When I press on the button the whole programm will be hangin and stops. Must the RB6 and RB7 be programmed on any specially way or what is the reason why this happens? Regards =C5keN -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu