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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/19/01 13:47
Read: times


 
#11719 - RE: doubt about I/O of 8051
Easy, when the input is 5V it means it is NOT pulled down by an external device i.e. switch or transistor or whatever. So the MC will return a logical 1 when it reads the pin.
If you attach a switch from the input pin to gnd and toggle it you'll see the status change from 1 to 0.

List of 4 messages in thread
TopicAuthorDate
doubt about I/O of 8051            01/01/70 00:00      
RE: doubt about I/O of 8051            01/01/70 00:00      
RE: doubt about I/O of 8051            01/01/70 00:00      
RE: doubt about I/O of 8051            01/01/70 00:00      

Back to Subject List