This program uses the RTCC (timer0) and interrupts to keep a
real time seconds counter. A simple stop watch function is
then implemented.
The following code,
ex_stwt.c
demonstrate how to implement the above program which sets up the PIC's RTCC & interrupts
to keep track of a real time seconds counter.
|