How to compare between internal eeprom and RTC ?

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Guys,

I want to set starting time and stopping time with RTC,
Shall I use eeprom for it ?
How to compare between internal eeprom and RTC ?

any clues or ideas ?
thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Convert time to unix time format. The time becomes a 32 bit value. Comparing time then just becomes the same as comparing a number. You can then store a number of these time values in eeprom or wherever.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

time in unix format,
is it date and time ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Tell me, Bianchi, how do you manage to get out of bed in the morning?...

Your threads are a stream of repeated, how do I's with answers give which in turn just raises another question from you. Many of the answers are readily available on the net with very little effort (should suit you, right?). For the current question: http://en.wikipedia.org/wiki/Uni...

My advice the other week was really serious: Whenever you get an answer, spend at least two hours investigating if there re good tutorials, articles or similar on the net with an answer.

You are constantly coming through as a very spoiled person that wants to be spoon-fed solutions to minute and trivial problems.

You will eventually wear out your welcome if you persist.

Now go read that Wikipedia article.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

Last Edited: Sun. Sep 29, 2013 - 11:09 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Johan, he's already worn out his welcome with me. He seems to have no respect for the time we put in.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

time in unix format,
is it date and time ?

Your threads are really starting to get pitiful and needy now. For once in your life actually try and answer your own question first. The internet (heard of it?) has developed two remarkable tools that can answer almost all questions on earth. They are called Google and Wikipedia.

Once again if I simply type "Unix time" into Google the top hit (not surprisingly) is a Wikipedia link to this:

http://en.wikipedia.org/wiki/Uni...

Is there now something in that explanation that you don't understand. If so then feel free to ask about it here but at least try to show some gumption.

What is it someone once said? "There comes a point where the spoon-feeding has to stop and the independent thinking has to start."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Lets do him a favour - ban him for 3 months.