There are several RTC samples. Some need a external chip, some don't.

16f876a_rtc_lcd.jal
16f876a_rtc_timeset.jal
16f877a_rtc_lcd.jal
16f877a_rtc_pcf8563.jal
16f877a_rtc_timeset.jal
16f886_rtc_lcd_125khz.jal
16f886_rtc_lcd_20mhz.jal
16f886_rtc_lcd_4mhz.jal
18f2620_rtc_tmr3.jal
18f26j11_rtcc_hw_kbd_lcd.jal
18f27j53_rtcc_hw_alarm.jal
18f4620_rtc_mcp7940.jal

I suggest either a PIC with an external rtc chip, or a PIC with a RTC built 
in. I suggest this because a tiny battery can keep your clock running when 
the power goes out.

I'd get a good crystal, like one of these square ones at the correct 
frequency: 
http://img.directindustry.com/images_di/photo-mg/voltage-controlled-crystal-oscillators-vcxos-34575-3042811.jpg

Of course, I am not a clock expert like others here :)

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to