> 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... Someone in this list (don't remember who) posted a suggestion to debug a program if you don't have an emulator or a debugger. He clocked the pic at a very slow rate (like 10Hz) so he could see what is happening running the pic at 'human speed'. I think he put some leds to see the state of some ports. No enough information to figure what is going wrong... sorry. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu