Question: Write a program to turn on two LEDs according to following Table in with the application of two switches for LPC 2 1 3 8

Write a program to turn on two LEDs according to following Table in with the application of two switches for LPC2138 microprocessor.
\table[[Switch 1,Switch 2,RED LED,GREEN LED,Binary code],[Release,Release,OFF,OFF,00],[Release,Press,OFF,ON,01],[Press,Release,ON,OFF,10],[Press,Press,ON,ON,11]]
Your submission will consist of:
Flow Chart
C-code in Keil
Proteus circuit simulations (screenshot) results (Four for four switch positions)
Write a program to turn on two LEDs according to

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 Electrical Engineering Questions!