For what it's worth, I've seen a lot of newbie problems in my programming career that were made by experienced programmers! By far, the most common problem I've seen is NOT initializing variables before the program uses that variable. For example, it's never good policy to assume registers (or RAM) initialize as zero on power-up (your present one may, but future chips in the same family may not!). Obviously, I don't know what your problem is. However, your symptoms are consistent with uninitialized variable problems. Good luck! We've all been there - don't know of a one that liked it! Dennis ----- Original Message ----- From: "Eke Neehr" To: Sent: Tuesday, October 01, 2002 11:38 AM Subject: [PIC]: 16F877 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.