| ??? 02/24/03 11:26 Read: times |
#39893 - RE: Final Clock Codes using Timers only Responding to: ???'s previous message |
To build a clock without interrupts looks not fully impossible, but can only be solved from experts.
You can run a timer and poll the overflow flag, which was the same to cause an interrupt, if enabled. But you must very carefully divide every program routines into pieces, which need below 65536 cycles under absolutely every circumstances. Thus avoiding interrupts was for experts only. But using interrupts was many times easier for experts and beginners. Peter |



