Can anyone give me a piece of code that can do the time keeping in PICBASIC without using interrupts ? ? ? Even if it just detects the roll-over and polls a flag, it'll do...
I wrote a PICBASIC code for a digital clock without interrupts.
No matter what prescaller i select, the clock runs 3 times slower.
I check the timer roughly every 50 instructions for a roll-over (By checking the MSB). . .
When i enable interrupts for the same code with same prescaler, it works fine.
Bookmarks