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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/15/04 17:40
Read: times


 
#68576 - RE: 1 port - input/output at the same time?
Responding to: ???'s previous message
"given p1.0, i may write a 1 to it so that "p1.0 pin" becomes high. if "p1.0 pin" is held low by an external signal (although i have written a 1 on it), i would read p1.0 now (from the code) as 0.

is that right?"

Yes. That is right. That being said, you should also understand why that is right. Read the tutorial and the links posted by Erik. Also do a search on this forum for "pull up resistors" and you will find a wealth of discussion on this topic.

List of 16 messages in thread
TopicAuthorDate
1 port - input/output at the same time?            01/01/70 00:00      
   RE: 1 port - input/output at the same time?            01/01/70 00:00      
   RE: 1 port - input/output at the same time?            01/01/70 00:00      
      RE: 1 port - input/output at the same time?            01/01/70 00:00      
         RE: 1 port - input/output at the same time?            01/01/70 00:00      
         RE: 1 port - input/output at the same time?            01/01/70 00:00      
            RE: 1 port - input/output at the same time?            01/01/70 00:00      
               RE: 1 port - input/output at the same time?            01/01/70 00:00      
                  RE: 1 port - input/output at the same time?            01/01/70 00:00      
         RE: 1 port - input/output at the same time?            01/01/70 00:00      
            RE: 1 port - input/output at the same time?            01/01/70 00:00      
               RE: 1 port - input/output at the same time?            01/01/70 00:00      
               RE: 1 port - input/output at the same time?            01/01/70 00:00      
         RE: 1 port - input/output at the same time?            01/01/70 00:00      
   RE: 1 port - input/output at the same time?            01/01/70 00:00      
      RE: 1 port - input/output at the same time?            01/01/70 00:00      

Back to Subject List