Pages: 1 [2]   Go Down
Author Topic: Time comparision  (Read 997 times)
0 Members and 1 Guest are viewing this topic.
Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 71
Posts: 3531
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Anyone have advice for a working clock?  I have an RTC module, but I don't know how to program it to remember time.
What sort of RTC might that be?
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

0
Offline Offline
Newbie
*
Karma: 0
Posts: 19
Arduino on the rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

At http://fjkraan.home.xs4all.nl/digaud/arduino/index.html is an example of a timer clock based on the DS1307 switching a relay on time and light conditions. For each time comparison I convert the time from the RTC to seconds (on this day).

The code structure could be better, but I ran into RAM limitations, so I left it as is. It is good enough for me ;-)
Logged

Pages: 1 [2]   Go Up
Jump to: