I built a stopwatch that simply uses counters that build (seconds + 1), (minutes + 1) etc.
Is that a no-no? There may be a reliability problem that way? (Although mine works fine) (I used a PAUSEUS to get everything based on an exact second).
Should you always use the PIC internal timer (TMR0) and look for a flag instead?
I've never used the timer registers and not familiar so didn't go that route.
I did notice a weird count one time and thought that maybe it's because the count got "off" and the code needed to be reset.
If you referenced to the PIC timer maybe that wouldn't happen?
Bookmarks