Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Thread Closed: Off-topic

???
02/24/03 22:19
Read: times


 
#39967 - to peter dannegar and waqar
Responding to: ???'s previous message
Peter Dannegger wrote:
-------------------------------
To build a clock without interrupts looks not fully impossible, but can only be solved from experts.


I disagree, I have done this, and I'm no expert... it's easy, but it's a lousy code...

You can have a clock, but not an alarm clock, since you can't adjust the alarm time without stopping the clock counter.

I didn't finished it yet, I'm studing for a ccda exam and had no spare time. For now it's just a "elapsed time counter", since the time starts always at 00h00m00s. The adjust time routine will be made in the near future, whatever it means :-)

the code is at

http://sites.uol.com.br/jorlando/.../clock.a51

the clock comments are in english, the comments in portuguese are note related to the clock code (they are for my 8051 kit, routines for LCD, ADC... that kind of stuff)

look at it and have fun :-)

I commented it to waqar, but seems that he didn't read it, I think he wants some guidance and don't want to reuse code from other people.

List of 21 messages in thread
TopicAuthorDate
Final Clock Codes using Timers only            01/01/70 00:00      
   RE: Final Clock Codes using Timers only            01/01/70 00:00      
      Please Chek my code approach            01/01/70 00:00      
         RE: Please Chek my code approach            01/01/70 00:00      
            RE: Please Chek my code approach            01/01/70 00:00      
               RE: Please Chek my code approach            01/01/70 00:00      
                  RE: Please Chek my code approach            01/01/70 00:00      
   RE: Final Clock Codes using Timers only            01/01/70 00:00      
      Un - Interrupted Timers only            01/01/70 00:00      
         RE: Interrupts are BAD !!!            01/01/70 00:00      
   RE: Final Clock Codes using Timers only            01/01/70 00:00      
      RE: Did you hear me Peter ?            01/01/70 00:00      
      to peter dannegar and waqar            01/01/70 00:00      
         RE: to peter dannegar and waqar            01/01/70 00:00      
            RE: to peter dannegar and waqar            01/01/70 00:00      
         RE: to peter dannegar and waqar            01/01/70 00:00      
   RE: Waqar:            01/01/70 00:00      
   RE: Final Clock Codes using Timers only            01/01/70 00:00      
   RE: to clock or not to clock without INT            01/01/70 00:00      
      RE: to clock or not to clock without INT            01/01/70 00:00      
   RE: Final Clock Codes using Timers only            01/01/70 00:00      

Back to Subject List