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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/13/08 23:26
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#153208 - A Simple example
Responding to: ???'s previous message
So You decide to make a clock.

And You use a LCD display module to show the time.

Which would be simpler:

1. Let timer interrupt take care of the hour, minute and second variables and display them at will ?

2. carefully design the application so that You know exactly how much time each of the display update, time calculation etc. takes and then make the program loop in 1 second intervals to update the time variables ?



List of 7 messages in thread
TopicAuthorDate
Timers            01/01/70 00:00      
   Because ...            01/01/70 00:00      
   Are you serious ?            01/01/70 00:00      
   loop is like DOS , timer is like WIndows            01/01/70 00:00      
   Timer Used For Delay            01/01/70 00:00      
   Not in a high-level language, you can't            01/01/70 00:00      
   A Simple example            01/01/70 00:00      

Back to Subject List