Count objective time with a Micro Coontroller
Hi guys!
I have an MCU ( Microchip PIC18F4525 ) and I want it to count objective time from the moment I turn the MCU on for about two weeks.
The MCU has an on-chip 16-bit timer, but it get to its upper limit in two sec (31kHz clock).
How do I count for hundreds of hours?
Use another timer as a counter?
Is there a more elegant solution?
Thx!
I have an MCU ( Microchip PIC18F4525 ) and I want it to count objective time from the moment I turn the MCU on for about two weeks.
The MCU has an on-chip 16-bit timer, but it get to its upper limit in two sec (31kHz clock).
How do I count for hundreds of hours?
Use another timer as a counter?
Is there a more elegant solution?
Thx!
0