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 16:32
Read: times


 
#68562 - RE: 1 port - input/output at the same time?
Responding to: ???'s previous message
"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? "

Right. But would you be kind enough to tell what derivative you are using ? Then one can be sure about the answer.

And going back to your first question, the setup as described by you ( part of the port as input and part as output) is a regularly used configuration. Why, there are even cases where the SAME port pin is used both as an output and input.

( Despite the above you do have to read the basic tutorials as pointed out by Erik ! )

Raghu





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