Question: Suppose that a pulse is generated to P3.4 each time a person enters the cinema. Use the 8051 to design a counter to count the
Suppose that a pulse is generated to P3.4 each time a person enters the cinema. Use the 8051 to design a counter to count the number of people entering the cinema. Do not allow more than 40 persons to enter by turning on an LED connected to P1.1 (LED is on by setting it to 1). Use interrupts. XTAL=12MHz
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
