Question: An IR sensor is connected to the MCU 8051 through the pin P2.1 and an array of LEDs is connected to MCU 8051 through Port

 An IR sensor is connected to the MCU 8051 through the

An IR sensor is connected to the MCU 8051 through the pin P2.1 and an array of LEDs is connected to MCU 8051 through Port 3. Draw the connection diagram neatly. Write the ASM code for the following instruction: - Check the IR sensor for LH (i.e. Logic High) - Make the LEDs toggle in an alternative pattern for 400 times with a 50% duty cycle if the sensor becomes LH, otherwise keep checking. An IR sensor is connected to the MCU 8051 through the pin P2.1 and an array of LEDs is connected to MCU 8051 through Port 3. Draw the connection diagram neatly. Write the ASM code for the following instruction: - Check the IR sensor for LH (i.e. Logic High) - Make the LEDs toggle in an alternative pattern for 400 times with a 50% duty cycle if the sensor becomes LH, otherwise keep checking

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!