Hello Everyone. I have written a program that works perfectly - until you turn the power off! I need the pic to "remember" a variable and load it upon power-up. I'm using a 16F72 without eeprom. In the main program the variable is Y and I use statements such as "let Y = 036". In my program, Y is never larger than 36. When you power off & power on the circuit, Y goes to a high number (255?) and the circuit does what it should if Y is 36 or greater. If Y = 001 or 005, I need it to be this number upon power-up. Does anyone have a solution without changing the pic to a different device? Thank you.
Bookmarks