PICBASIC PRO demonstrator for the DS1307, PIC16F628, LCD and three buttons. It shows how you can use buttons to enter time, date and operating mode (12 or 24 hour clock) to preset the DS1307, and also shows how the date is verified for validity so you don't enter 29 February when you're not supposed to. It has autorepeat on the buttons and automatically returns you to time/date view if you're in setup and don't press any buttons within a set time period. Written by Melanie Newman
http://melabs.com/resources/samples/...ted/mn1307.txt