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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/24/03 11:39
Read: times


 
#44106 - RE: 8051 & Active low inputs
Responding to: ???'s previous message
All port pins are forced to high state after a reset.
Hence always set up the port pins so that they read "0" or low when you press the button.

It is called Active Low input.Once you read the pin invert it in software. This is the right way to do it.

And with most derivatives ( refer the data sheet ) port pins are pulled high strongly when used as inputs - so you dont have to worry about your pull resistors ( generally ).

Raghu



List of 11 messages in thread
TopicAuthorDate
8051 & push buttons/switches            01/01/70 00:00      
   RE: 8051 & push buttons/switches            01/01/70 00:00      
      RE: 8051 & push buttons/switches            01/01/70 00:00      
         RE: 8051 & push buttons/switches            01/01/70 00:00      
            RE: 8051 & push buttons/switches            01/01/70 00:00      
   RE: 8051 & push buttons/switches            01/01/70 00:00      
      RE: 8051 & push buttons/switches            01/01/70 00:00      
         RE: 8051 & Active low inputs            01/01/70 00:00      
         RE: 8051 & push buttons/switches            01/01/70 00:00      
   RE: 8051 & push buttons/switches            01/01/70 00:00      
      RE: 8051 & push buttons/switches            01/01/70 00:00      

Back to Subject List