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.

Help Reading / Writing long int to Flash memory.

Status
Not open for further replies.
Joined
Apr 8, 2012
Messages
201
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Activity points
0
Hello!

Can anyone show me how to Write long int value to flash memory and then reading it to get the long int value. I'm using PIC18F4523.

eg:

unsigned long int myInt, returnedInt;

myInt = 567890;

I want to write 567890 to flash memory.

returnedInt = flash_read();

something like flash_read() function should return long int value, here 567890.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top