internetuser2k11
Banned
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.
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.