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 12:08
Read: times


 
#44118 - RE: 8051 & push buttons/switches
Responding to: ???'s previous message
connect one terminal of the switch to +5v the other end to the uc and one end of a 10k resistor. connect the other end of the resistor to ground.
... and create a derivative dependent functionality. This will (probably) work on derivatives where the internal pull-up is large enough, on some others it will always read '1'.

Erik


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