Loading...
Pages: [1]   Go Down
Author Topic: EEPROM retreive values after specific time!  (Read 445 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 42
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK i correct the errors and the program works fine this time!
What about something else...I would like to read these value in every 10 minutes.How to do something like that???
I'm a little confused about DateTime libs between Arduino 1 and the previous one.

Thanks again for one for time all of you!
« Last Edit: May 11, 2012, 10:41:10 am by sirus » Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 335
Posts: 36462
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I think that my data goes to the eeprom fine, but the problem is that when i load them, i don't take the same values...
No, you are wrong. You are still, despite repeated advice, not writing data to EEPROM correctly.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 299
Posts: 26030
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

These is little point in giving you any advice because you do not seem capable of understanding it or you are too arrogant to take it.
I have spent a lot of time explaining to you what you are doing wrong but you seem incapable of learning or asking about what you don't understand about the advice.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 42
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No no no sorry!You miss understood!That's not the correct code!
I've done just copy paste the previous thread!

Your advice was perfect!My data and results are ok now!
In this thread i'm asking you how to count time e.g 10minutes and store the values into the eeprom!

Thanks again!

« Last Edit: May 11, 2012, 10:44:08 am by sirus » Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 335
Posts: 36462
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
In this thread i'm asking you how to count time e.g 10minutes
delay(10UL*60UL*1000UL);
is one way.

The use of millis() as in the blink without delay example is another (much better) way.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 42
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you very much for one more time....!!!!!
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 299
Posts: 26030
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
That's not the correct code!
I've done just copy paste the previous thread!
OK try and avoid doing that because there is a whole bunch of errors that people will try and correct all over again, and that only waist time.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 42
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm sorry!I'll never do it again...You're absolutely right!
Logged

Pages: [1]   Go Up
Print
 
Jump to: