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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/15/03 07:16
Read: times


 
#58764 - Algorithm...
Responding to: ???'s previous message
See if this Algorithm Helps..

1. start
2. R0 <- 0
3. if P2.0 = 1 then goto 4 else goto 7
4. if R0 = 9 then goto 5 else goto 6
5. Data Achieved. Goto 10
6. Data Not Achieved. Goto 10
7. if R0 = 9 then goto 7 else goto 8
8. R0 <- R0 + 1
9. Goto 3
10. Stop

It will check if the first 8 bits are 0's and the 9th bit is 1. Implement it at suitable location in your program.

-Harsha.

List of 12 messages in thread
TopicAuthorDate
Bit Bang Question            01/01/70 00:00      
   Algorithm...            01/01/70 00:00      
   RE: >8 bits            01/01/70 00:00      
      9 bits            01/01/70 00:00      
   RE: Bit Bang Question            01/01/70 00:00      
   RE: Thank you            01/01/70 00:00      
      RE: Thank you            01/01/70 00:00      
         RE: Thank you            01/01/70 00:00      
            RE: Thank you            01/01/70 00:00      
               RE: Thank you            01/01/70 00:00      
                  RE: Thank you            01/01/70 00:00      
                  RE: Thank you            01/01/70 00:00      

Back to Subject List