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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/07/04 20:36
Read: times


 
#69994 - need some ideas..
i'm new to 8051 and working on a project..
i need u guys to give me some ideas or advices..
my project need a coutdown timer and display it on a 7segment...
how am i suppose to program my mcu to countdown??
i dont need the full code or solutions...just need some ideas or tips to start with...

can i do it in this way..?
1. set different RAM locations(ie from 07H to 0FH) to represent digit 0-9 in binary..(can this step be done?)
2. if the countdown starts with 9, load the Register0 with the value from RAM location 0FH and display it on the 7segment.
then decrement R0(DEC @RO)...and so on...until 0 is displayed...

or is there any easier solutions?

thanks


List of 11 messages in thread
TopicAuthorDate
need some ideas..            01/01/70 00:00      
   RE: need some ideas..            01/01/70 00:00      
   RE: need some ideas..            01/01/70 00:00      
      RE: need some ideas..            01/01/70 00:00      
      RE: need some ideas..            01/01/70 00:00      
         RE: need some ideas..            01/01/70 00:00      
   RE: need some ideas..            01/01/70 00:00      
      RE: need some ideas..            01/01/70 00:00      
         RE: need some ideas..            01/01/70 00:00      
   First things first            01/01/70 00:00      
   RE: need some ideas..            01/01/70 00:00      

Back to Subject List