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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/17/11 02:15
Read: times


 
#180637 - possible approach
Responding to: ???'s previous message
1- initialize outputs for all off
2- initialize a loop maximum value in a memory location
3- light the first LED
4- shift one bit at a time up to the loop maximum value (with delay between shifts)
5- ORL the result with the outputs
6- decrement the loop maximum by 1
7- loop back to step 3 until the loop maximum has reached 0

List of 16 messages in thread
TopicAuthorDate
Help Help Codes for 8 LEDs Sand Watch in ASSEMBLY            01/01/70 00:00      
   Hourglass?            01/01/70 00:00      
      8 LEDs sand watch            01/01/70 00:00      
         Table or nested loops            01/01/70 00:00      
         Didn't you just repeat exactly the same post?            01/01/70 00:00      
         possible approach            01/01/70 00:00      
         LED Patterns            01/01/70 00:00      
            Using spreadsheets            01/01/70 00:00      
               Further -- Consider            01/01/70 00:00      
   Cart before horse            01/01/70 00:00      
   What does AND and OR?            01/01/70 00:00      
   last time I looked 89S52 had 8 kByte flash, ASSEMBLY?            01/01/70 00:00      
      First Cycle Compete            01/01/70 00:00      
         How to post legible source code            01/01/70 00:00      
         algorithm, assembler            01/01/70 00:00      
            Thanks for the help and support            01/01/70 00:00      

Back to Subject List