PDA

View Full Version : Digital Clock With Alarm Using DS1307.



Leonardo
- 15th February 2007, 00:38
Hello,

Somebody has a code or an example for a Digital Clock With Alarm Using DS1307.

Thanks

paul borgmeier
- 15th February 2007, 04:47
http://www.melabs.com/resources/samples/submitted/MN1307.txt
add an if statement and you are done

sayzer
- 15th February 2007, 06:44
Just a little note:

You need to do HEX-DEC and DEC-HEX conversions when matching IF statements.

IF there is a user menu to set the alarm time, date etc. then a conversion routine will be needed as DS chip works in HEX format.



Here some examples:
http://www.picbasic.co.uk/forum/showthread.php?t=110


------------------------------

Leonardo
- 16th February 2007, 02:43
Hello,

Can somebody say I eat up to put an alarm to the code http://www.melabs.com/resources/samples/submitted/MN1307.txt written for Melanie ?.

Thanks