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

Back to Subject List

Thread Closed: Off-topic

???
02/23/03 03:56
Read: times


 
#39815 - RE: Final Clock Codes using Timers only
Responding to: ???'s previous message
You don't check 12:59, you check 13:00... if you clock is a 12h clock you count until 12:59, add another minut, your minutes count reset and adds 1 to the hour, your program check that 13 isn't ok to display and instead of displaying 13:00, you display 1:00.

If you have a clock then you should make sure that you can adjust the time so it displays the correct time. If you can't adjust the time it is a timer, that shows how long has been elapsed since it was turned on.

Look older messages, I posted a link for a code that I wrote of a timer without interrupts.

By the way, if your clock is a 12h type I think that you should have some sign that indicates if it AM or PM time, so instead a 12h it would be easier a 24h, that at 23:59 would reset to 00:00 in the next second.

hth

orlando

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