Using PIC16F877 to keep track of operation time

female_nancy

New Member
I was wondering how you would use the PIC's built in Timers to tell you how long the PIC has been working? This will be done in assembly code without a RTC.
 
Last edited:
Yes, use one of the timers (personally I like timer2) to maintain a clock count, and store it in the data EEPROM area - so the count isn't lost if it's turned off.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…