Question: 8051 timer programming in assembly language 3. Write a program to solve the following: I want to use 8051 in designing A selector device. The

3. Write a program to solve the following: I want to use 8051 in designing A selector device". The specification of the device is as follow: A switch is used that will let the user select the size of the square wave created on Port 0. If the switch is on, the frequency is 1KHz, and if it is off the frequency is 100KHz. The user of the device can select which pin in Port 0 he/she wants the square wave to be created on. Use functions. Assume XTAL=24MHz. Assuming that XTAL = 11.0592 MHz and that we are generating a square wave on pin P1.3, find the highest square wave frequency that we can gener- ate using mode 2. 38. Assuming that XTAL = 16 MHz and that we are generating a square wave on pin P1.3, find the lowest square wave frequency that we can generate using mode 2. 39. Assuming the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
