Thursday, March 31, 2016

8051 Switch Interfacing

8051 port pins can be used to interface switch. We can monitor switch status through the IO pins.

8051 Switch Interfacing

Program to monitor switch status.
ORG 0H
MOV P1, #0FFH
MOV P0, #00H
AGAIN:
MOV P0, P1
SJMP AGAIN
END



Related topics:
8051 External Program Memory Interfacing   |   8051 External Data Memory Interfacing   |   8051 Memory Mapped IO   |   8051 LED Interfacing   |   8051 Keyboard Interfacing   |   8051 7-Segment Display Interfacing   |   8051 LCD Interfacing   |   8051 ADC Interfacing   |   8051 DAC Interfacing   |   8051 Relay Interfacing   |   8051 Sensor Interfacing   |   8051 Stepper Motor Interfacing   |   8051 DC Motor Interfacing

List of topics: 8051

No comments:

Post a Comment