Could someone help me, what is wrong with the program; I'm taking Martin's program to record numbers from 1 to 900 in the EEPROM of the pic, I think is simple, but I have something wrong, first I have a delay of 2 minutes to turn on A2, then a timer keeps counting to 900 , I think that by disconnecting the pic from the power source, the number found in the timer will be recorded in the EEPROM, when reconnecting the pic, the EEPROM will be read and subtract 2, and when the count reaches that value go off A2.
Thanks
Enrique