A switch is connected to pin 2.3 and the buzzer connected to pin 1.5 of 8051 as in Figure Q4(b). Outline an assembly lan
Posted: Sat May 21, 2022 1:13 am
A switch is connected to pin 2.3 and the buzzer connected to pin 1.5 of 8051 as in Figure Q4(b). Outline an assembly language program to check the status of the switch and to make the following decisions. • if the switch is open, then the buzzer is ON • if the switch is closed, then the buzzer is OFF. [7 Marks) VCC Switch 8051 P2.3 H 4.7k Buzzer P1.5 74LS04 Figure Q4(b)