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

Back to Subject List

Thread Closed: Issue successfully resolved

???
01/19/05 12:08
Read: times


 
#85286 - use a mask !
Responding to: ???'s previous message
As I stated already in this thread:

http://www.8052.com/forum/read.phtml?id=85102

use logical instructions on a byte instead bit instructions.

Then prior doing something set the mask value to

0x01: access devices on portpin 0
0x02: access devices on portpin 1
...
0x80: access devices on portpin 7


Then the same driver can access up to 8 different 1-wire busses.


Peter


List of 11 messages in thread
TopicAuthorDate
Saving Code memory            01/01/70 00:00      
   Same topic discussed in different thread            01/01/70 00:00      
      Existing thread            01/01/70 00:00      
   Why so fearful ???            01/01/70 00:00      
      why not multidrop            01/01/70 00:00      
         Customer replacement            01/01/70 00:00      
   USE ALTERNATIVE PROGRAMMING TECHNIQUE            01/01/70 00:00      
      Looking in the wrong place!            01/01/70 00:00      
         why not spend another $            01/01/70 00:00      
   use a mask !            01/01/70 00:00      
      Solved            01/01/70 00:00      

Back to Subject List