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
Ulong to eeprom
Moderator: Benj
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
-
- Posts: 71
- Joined: Fri Jul 31, 2015 9:21 pm
- Has thanked: 2 times
- Been thanked: 12 times
- Contact:
Re: Ulong to eeprom
Hmmmm. I did a search and must have spelt something incorrect. Thats what I need. Many thanks guys
-
- 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
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
If it matters, i am using PIC18F4523.
Thank you in advance
George
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
-
- 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
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
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
-
- 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
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.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?
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- 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
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.
My question was for V4 of flowcode. I tried the example in the link above but i get errors while compiling.