... I asked for solution of my problem few days ago, but no answer and no solution jet. So I ask again! I have problems with PORTB on F876. My project is temperature regulating with PT100 and 6x7seg display with CD4511 decoder and 6 PNP's for digits turning on and off. And that fork just fine. I also have 3 tasters (for seting up of critical temperature) connected on PORTB, pins 7, 6, and 5. And that is what don't work at all. For information, I tested everything in MPLABsim and there everythin is OK. But when I burn it in F876 and power ON, tasters just dont work. Sometimes they work unpredictable, sometimes not work in all, sometimes for a moment good but then microC hang... I check code for a milion times, bank switching, interrupt calling and returning ... I enable PULL_UPs on PORTB and checking for 0 on pins, turn off LVP, and DEBUGGER, and work with P16PRO programmer. So, do anyone of you hav an idea what can be wrong, or where I make a mistake! Maybe a P16pro just don't work OK, or... I can posted a code here but it's a big cod... thanx in advance ------------------------------------------------- branek@eunet.yu http://solair.eunet.yu/~branek ICQ - 15616778 -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu