Ulong to eeprom

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
secs
Posts: 71
Joined: Fri Jul 31, 2015 9:21 pm
Has thanked: 2 times
Been thanked: 12 times
Contact:

Ulong to eeprom

Post by secs »

Hi all. Tinkering around for a quick couple of timers I am simply using an Arduino Mega 2560.

I need to write and read a ulong to and from eeprom and found some code on these forums I think was being used for a pic
I have attached a couple of images. I simply made the code into macros. I have a feeling a need a couple more bits but does what I have done/copied correct?
Data_out and DIN are Ulong
Peter
reade.jpg
reade.jpg (66.07 KiB) Viewed 4348 times
writee.jpg
writee.jpg (45.31 KiB) Viewed 4348 times

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Ulong to eeprom

Post by medelec35 »

Hi secs,
Have you also read this topic?

Martin
Martin

secs
Posts: 71
Joined: Fri Jul 31, 2015 9:21 pm
Has thanked: 2 times
Been thanked: 12 times
Contact:

Re: Ulong to eeprom

Post by secs »

Hmmmm. I did a search and must have spelt something incorrect. Thats what I need. Many thanks guys

George_B
Posts: 128
Joined: Wed Jul 04, 2012 11:21 pm
Location: Greece
Has thanked: 51 times
Been thanked: 19 times
Contact:

Re: Ulong to eeprom

Post by George_B »

Hi, i would like to write and read some floating values (e.g. 3.42 or 34.2) in EEPROM. How can i achive this?

If it matters, i am using PIC18F4523.

Thank you in advance
George

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Ulong to eeprom

Post by medelec35 »

Hi George,
Have you read this topic?

Martin
Martin

George_B
Posts: 128
Joined: Wed Jul 04, 2012 11:21 pm
Location: Greece
Has thanked: 51 times
Been thanked: 19 times
Contact:

Re: Ulong to eeprom

Post by George_B »

Thank you very much for the reply,

i will have a look on that topic.

I want to discuss something else regarding EEPROM and interrupts as well but i don't know where is the appropriate forum location to post my thought and questions. Any idea or suggestions?

Thanks again
George

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Ulong to eeprom

Post by kersing »

George_B wrote: I want to discuss something else regarding EEPROM and interrupts as well but i don't know where is the appropriate forum location to post my thought and questions. Any idea or suggestions?
Use this part if you are using Flowcode 6. Or 'General Programming' if the subject is not linked to a specific version of Flowcode. Before posting, use 'search' (right top of the page) to check if it has been discussed before.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

George_B
Posts: 128
Joined: Wed Jul 04, 2012 11:21 pm
Location: Greece
Has thanked: 51 times
Been thanked: 19 times
Contact:

Re: Ulong to eeprom

Post by George_B »

Hi, i did not realized that this was posted for V6. Excusse me for that.

My question was for V4 of flowcode. I tried the example in the link above but i get errors while compiling.

Post Reply