Here is an app note from Microchip that provides information on how to implement a real time clock and calendar on the PIC16f18xx series of microcontrollers. It uses an external 32.768KHz crystal that drives the Timer1 resource of the uC. The neat thing about a 32.768Khz clock source is that it can be divided by […]
