Digital clock tips

Discussion in 'Embedded Systems and Microcontrollers' started by Metallica_Boy, Nov 20, 2012.

  1. Metallica_Boy

    Thread Starter Member

    Nov 8, 2006
    I'm new in microcontroller but i have been reading programing it and i need to make digital clock i made some easy progam by it.
    I need some tips about digital clock i will use TMR0 timer on pic16f887 and it has 8 bit timer/counter i need to make interrupt comand when it counts 60s increment minutes by 1 and when it counts 60m increment hours by 1 and return to 1h at 12h .
    i will use 4MHZ crystal,using C language
    any tips plz
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    Why timer0. Timer1 or timer2 is better for this purpose