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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/09/07 23:56
Read: times


 
#141659 - BCD->seven segment
Responding to: ???'s previous message

Martin, you don't give us much information to go on! What language are you using? We could assume assembler if it is a school project. Given a number, this needs to be converted to bcd. Basically this is done by division - /100 to get 100's, /10 for 10's etc. Then use a lookup table to convert the bcd(binary coded decimal) value to seven segment. Look in the code library for some examples.

List of 12 messages in thread
TopicAuthorDate
seven segment displays            01/01/70 00:00      
   Max 7221            01/01/70 00:00      
   divide and use a lookup table            01/01/70 00:00      
   "Easiest"?!            01/01/70 00:00      
      still win            01/01/70 00:00      
         maybe            01/01/70 00:00      
            Perspective            01/01/70 00:00      
               which brings us back to...            01/01/70 00:00      
               Another perspective            01/01/70 00:00      
                  Now, boys do you really assume            01/01/70 00:00      
                     Insufficient information - so assumptions rule!            01/01/70 00:00      
   BCD->seven segment            01/01/70 00:00      

Back to Subject List