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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/06/06 15:31
Read: times


 
#117877 - Purpose
Responding to: ???'s previous message
Erik said:
what purpose?

My purpose is to use Port2 as output port only. I use Port3 for input-only by writing #FFh to it in the beginning of my program. After that, I will only read from that port. But Port2, which I want use only for output only, wont it suddenly become for-input-only if I happen to write a HIGH to any of its pins, (which I will)?
In other words, can I continue to write-to port3 in spite of writing HIGH to some of its pins (which makes those pins as input pins)?

List of 18 messages in thread
TopicAuthorDate
Help Understanding AT89C51 Datasheet            01/01/70 00:00      
   logic gain and other            01/01/70 00:00      
      Should I study more?            01/01/70 00:00      
         do you have any hardware knowledge            01/01/70 00:00      
            No hardware knowledge            01/01/70 00:00      
               what purpose?            01/01/70 00:00      
                  Purpose            01/01/70 00:00      
                     many get confused by this            01/01/70 00:00      
                        Got it !            01/01/70 00:00      
   per-pin, per-port, and whole-chip limits            01/01/70 00:00      
      strictly speaking...            01/01/70 00:00      
         Slight oversimplification            01/01/70 00:00      
            it used to be DC, now it is AC            01/01/70 00:00      
      "per pin"            01/01/70 00:00      
   Good post!            01/01/70 00:00      
      Excellent Community            01/01/70 00:00      
   have you read "the bible"            01/01/70 00:00      
      Yes, I have started            01/01/70 00:00      

Back to Subject List