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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/14/04 09:09
Read: times


 
#83043 - Vertical counters
Responding to: ???'s previous message
Jason,

If I were you I'd try to walk before I ran ! Just sort out your little timer first, before you head off into state machines !

To answer your question.

Vertical counters count with the bits in two (or more bytes)
Two small binary numbers: we will count with the LSB.
A 000 ; start
B 000

A 000   ;increment counter
B 001

A 001   ;next increment
B 000

A 001   ;next increment
B 001

A 000   ;roll over.
B 000

Can you see how the number is stored in the LSB ?

Now you can extend that to all the bits in the byte, so two bytes holds 8 numbers.

Steve

List of 10 messages in thread
TopicAuthorDate
Use of Bitwise Area            01/01/70 00:00      
   Limited View Point            01/01/70 00:00      
      Method or formula            01/01/70 00:00      
         try these            01/01/70 00:00      
         Similar Code            01/01/70 00:00      
   You need a timer!            01/01/70 00:00      
   try this            01/01/70 00:00      
   Thank you            01/01/70 00:00      
      Vertical counters            01/01/70 00:00      
         Vertical Counters            01/01/70 00:00      

Back to Subject List