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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/31/03 12:38
Read: times


 
#42616 - RE: Using P2 and external RAM - Pranav
Responding to: ???'s previous message
Why? You have do nothing other than connect the DIP switches to P2. That is all. You don't have to write back to P2 or do any thing else. Just do as you would with a normal port except don't use MOVX with DPTR.
Make sure you write FF to P2 latch(reset state) before you use it as input, as you would for any other port pin. Making DIP SW common to ground eliminates the need for pull up network, if the DIP SW are near the MCU(using internal pullup).

List of 25 messages in thread
TopicAuthorDate
Using P2 and external RAM            01/01/70 00:00      
   RE: Using P2 and external RAM            01/01/70 00:00      
      RE: Using P2 and external RAM            01/01/70 00:00      
   RE: Using P2 and external RAM            01/01/70 00:00      
   RE: Using P2 and external RAM            01/01/70 00:00      
   RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
      RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
         RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
            RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
               RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                  RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                     RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                        RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                           RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                           RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                              RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                                 RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
   RE: Using P2 and external RAM            01/01/70 00:00      
      RE: Using P2 and external RAM            01/01/70 00:00      
         RE: Using P2 and external RAM            01/01/70 00:00      
            RE: Using P2 and external RAM            01/01/70 00:00      
               RE: Using P2 and external RAM            01/01/70 00:00      
               8751            01/01/70 00:00      
                  RE: 8751            01/01/70 00:00      
                     END            01/01/70 00:00      

Back to Subject List