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
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
Get step-by-step solutions from verified subject matter experts
