Lelouch Yagami
Lelouch Yagami

Reputation: 159

Active High Switch interfacing in 8051

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

Answers (1)

HM_
HM_

Reputation: 59

You can CONNECT switch with INT0 OR INT1 PIN of 8051 microcontroller and use switch as external interrupt.

Upvotes: 0

Related Questions