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.

[Moved] how to write 2 byte data in eeprom

Status
Not open for further replies.

vijayji

Junior Member level 1
Joined
Jan 15, 2011
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,390
I want to write data in serial eeprom. I want to store numerical data and when data reaches to 255 and in next count it become 0 because i am writing only 1 byte
so i want to know how to store 2 byte of data.
 

Re: how to write 2 byte data in eeprom

What kind of hardware do you have?
Which programming language do you use?
Is it a PC application?
You have to provide some more details of what you are trying to do.
 

Re: how to write 2 byte data in eeprom

What kind of hardware do you have?
Which programming language do you use?
Is it a PC application?
You have to provide some more details of what you are trying to do.

i working on 8051 mc. I am using at24c64(atmel) eeprom. I want to display data on lcd.
 

Re: how to write 2 byte data in eeprom

You have posted in the wrong section which is for PC interfacing, I will move the post to mcu.

---------- Post added at 18:44 ---------- Previous post was at 18:42 ----------

One of the ways you can use is with union as explained https://www.edaboard.com/threads/240542/#post1029235
Then just write the two individual bytes
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top