Lot of ideas... MPLAB isn't the best way to create whole programm. I, personally, use it only when I need to debug very compicated subprogramms like floating point math, etc. Anyway try to cu off the parts of your programm and find the problem by yourself. Lennart.Berlin@EMW.ERICSSON.SE wrote: > Hello, I wonder if any of you know why a program that works in simulator > > (MPLAB) but it won't work then downloaded to the PIC16F84? > Any ideas... > > Another question: Does anyone know a way to decrease the value in Data > EEprom, in a short routine? > > //Robert > e-mail: Robert@programmer.net > My Home Page: > http://www.geocities.com/SiliconValley/Lakes/2356/ > ********************************************** > \\|// ooo \\|// > (o o) o| | (o o) > ---oOO---(_)------------oOO---(_)---OOo-- > ********************************************** > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com