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
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 2557 times
writee.jpg
writee.jpg (45.31 KiB) Viewed 2557 times

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8873
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Contact:

Re: Ulong to eeprom

Post by medelec35 »

Hi secs,
Have you also read this topic?

Martin
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

secs
Posts: 71
Joined: Fri Jul 31, 2015 9:21 pm
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: 88
Joined: Wed Jul 04, 2012 11:21 pm
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

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8873
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Contact:

Re: Ulong to eeprom

Post by medelec35 »

Hi George,
Have you read this topic?

Martin
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

George_B
Posts: 88
Joined: Wed Jul 04, 2012 11:21 pm
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: 1937
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
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: 88
Joined: Wed Jul 04, 2012 11:21 pm
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