PDA

View Full Version : Making a function to set the DS1337 Alarm in C



trw01
- 12th February 2006, 17:45
Hi everyone, I'm fairly new to programming.

I was looking at Bruce's code at http://www.rentron.com/CCS_C/SERLED_C.htm for a talking alarm clock and was trying to implement that code with the ds1337 and pic18f452. Well, I'm not doing the actual talking part, but is still using the sled4c and ds1620.

Can someone please tell me how I would go about making two functions that will allow me to set Alarm 1 on the ds1337 and a function to display the Alarm time to the Sled4c.

Thanks for your time