Question: 2. Write a program to create a rectangular wave of 5Hz on pin P1.1. Use counter to create 50 pulses only. XTAL =12 MHz 3.
2. Write a program to create a rectangular wave of 5Hz on pin P1.1. Use counter to create 50 pulses only. XTAL =12 MHz 3. Write a program to count up to 2,000,000 using TO. Store the number starting at address 30H in RAM. Write your assumptions clearly. 4. Use the 8051 to design a counter to count the number of people entering a room. Suppose that a pulse is generated to P3.5 each time a person enters the room. Stop when the number of people reaches 35. Do not allow more people to enter by displaying "F" for full to a device connected to port 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
