Hi Microchip has got a chematic with code. Follow these links: LCD Clock: http://www.microchip.com/Download/Appnote/Category/16CXX/00582b.pdf http://www.microchip.com/Download/Appnote/Category/16CXX/00582.zip 7SEG LED Clock on 32768Hz Crystal: http://www.microchip.com/Download/Appnote/Category/PIC16/00615b.pdf http://www.microchip.com/10/Appnote/Category/PIC16/00615/indexZIP0.htm I want to mention that I am building a "CountDown" timer, and I use the following method to acurately time the seconds: 1. I run the PIC from a 4.194304 MHz Crystal. 2. The PIC then performs 1048576 Instructions per second 3. I set up the Timer Overflow Interrupt with a prescaler of 16 4. The Timer Interrupt then occurs 256 times per second 5. My ISR Increments another counter I defined 6. When that counter overflows from 0xFF to 0X00 (and sets the carry bit), I know exactly one second has passed, and I update my seconds, minutes, hours counter accordingly and update the display. Try this. I hope it helps Regards, Werner Soekoe Information Systems Manager Free State Legislature werners@fsl.gov.za Tel. (051) 407-1109 Fax. (051) 407-1137 Cell. 082 376 8383 Country Code. +27 ----- Original Message ----- From: "-=jugggernut=-" To: Sent: Saturday, June 03, 2000 6:49 AM Subject: [PIC]: Digital Alarm Clock source code and schematics > Hi! > > I like to build a digital alarm clock using PIC 16F84, the display format > must be Military time. > > The following problems are: > 1. A certain website discuss about PIC 16F84 timer. The 1 second delay well > not be exactly 1 second because of the error. How can I made an error > correction with this? > > 2.Can I set an interrupt (ISR)? for the setting of the alarm time. > > 3.Is there anybody can share me a simple Digital clock schematic using PIC > 16F84. > > Thanks in advance... > > Best regards, > > -=jug=- > > / / Homepage: > ( ,),) http://juggernut.cjb.net > ( +++) Email: > > < juggernutz@yahoo.com > /^ ^\ juggernut@crosswinds.net > ^ ^ imcece@crosswinds.net > just hoping that your okay!!! >