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 10:07
Read: times


 
#141599 - divide and use a lookup table
Responding to: ???'s previous message
hi Martin

The most simple thing is just to store the data somewhere (ram or register) and then when nescersay divide the value by 100 and than the rest by 10 and what;s left are your ones.

next thing you do is 'convert' this value to the set op 1's and 0's you need to visualise a number on you 7 segment. The easiest way of converting is trough a loopup table.

This way you can directly flas your 7 segment displays.

Or you could use 3 74ls47 display drivers.

I hope this makes sense.

If not let me know and I'll try to dig up some old code.

Regards
Jeroen



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