Question: 8051 microcontroller and embedded system Write a program to check a switch connected to PI.1. If the switch is on (the value is 1), create

8051 microcontroller and embedded system 8051 microcontroller and embedded system Write a program to check a switch

Write a program to check a switch connected to PI.1. If the switch is on (the value is 1), create a rectangular wave of 10KHz of 66% (2/3) duty cycle on pin P1.2. Otherwise, send a character from RAM location 30H serially to a printer connected to the serial communication port of 8051. Baud rate=THI -3. XTAL=12MHZ Write a program to check a switch connected to PI.1. If the switch is on (the value is 1), create a rectangular wave of 10KHz of 66% (2/3) duty cycle on pin P1.2. Otherwise, send a character from RAM location 30H serially to a printer connected to the serial communication port of 8051. Baud rate=THI -3. XTAL=12MHZ

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!