Question: Design an order conformation machine using 8051 microcontroller. A switch is connected to pin P1.0. Write a program to check the status of SW (switch)

Design an order conformation machine using 8051 microcontroller. A switch is connected to pin P1.0. Write a program to check the status of SW (switch) and perform the following instructions:(a) If SW=0, send information to red LED connected to P2.0 pin (b) If SW=1, send information to green LED connected to P2.1 pin (order ready)

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!