What is the program intended to do? And how does it crash? The problem is solveable, as crashes litter the road to success. Shawn Hello! Is there any usually misstake who a newbie does with the PIC 16F877? My circuit works only properly in terms of one to ten after reset! Mostly it like to works random. Anybody who has the same problem ? Regards EkeN -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.