Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

program algorithm to store changed value

Status
Not open for further replies.

uday mehta

Advanced Member level 4
Full Member level 1
Joined
Dec 30, 2011
Messages
104
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,298
Activity points
1,979
(for 8051 or any other micro-controller)
In my program I have a variable
u= 2;
another variable
v= user defined(user can enter any no using keypad);

now
u=v
will it change the value of "u" permanently? I mean when I will turn of the system and then turn it on again "u" will again get value 2.
I want that value of "u" will be remain same as "v" until I change the value of "v".
Is it possible?
 

According to the at89s52 datasheet page 1, it doesnt have eeprom. So an external one is needed. See pdf attached.

Allen
 

Attachments

  • www.atmel.com_images_doc1919.pdf
    155.8 KB · Views: 73

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top