Reputation: 159
How to read an Active high switch in 8051 micro controller ?. 8051 requires port pin to be high while reading.So making pin to be low and continuously reading the pin for high signal doesn't working. What to do?
Upvotes: 0
Views: 265
Reputation: 59
You can CONNECT switch with INT0 OR INT1 PIN of 8051 microcontroller and use switch as external interrupt.
Upvotes: 0