| ??? 02/23/03 18:29 Read: times |
#39845 - RE: Please Chek my code approach Responding to: ???'s previous message |
Waqar Zaka wrote:
------------------------------- Actually i need to understand is there any way that we can make the controller check the clock it self without interrupt or any special check applied. I didn't understood what you mean... anyway, if you want to know if ypu can make your code check the time without interrupts, yes you can. Why people don't recomend using this? Let's say you wan't to make a alarm clock, when you adjust the alrm time your code isn't running anymore (you have to stay at the "adjust-alarm-routine") so when you have finished to adjust your alarm your clock is late... if by some motive you have taken 20 minutes to adjust the alarm, your clock is 20 minutes late now. And the list goes on... if you just wan't a clock, ok, you dn't need interrupts, but if you want a clock that does something else, you need interrupts |



