Eke Neehr wrote on 30/07/01 20:52:08: > >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? The 870 has ICD captabilities, and, when actived, RB6 is the HALT signal for the ICD core. Do not use RB6 if you want ICD. Look in Microchip's web-> developer tools-> ICD, and seek for the ICD specification. (Microchip's people 'forget' include it on the first edition 2001 CD) -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu