Question: Write a code for an LPC 2 1 3 8 / 2 1 4 8 on Keil software where when SW 1 SW 2 SW

Write a code for an LPC2138/2148 on Keil software where when SW 1 SW2 SW 3 are off all LEDs are OFF
When SW 1 is ON and SW 2 IS OFF SW 3 OFF RED LED flashes every 3 seconds.
When Sw 2 and Sw 3 are on Green LED flashes every 1 second
when Sw 1 and SW 2 are on both LEDS FLASHES EVERY 3 SECONDS
WHEN ALL Switches are ON all LEDs flashes every 1
PROVIDE circuit in Proteus.
Write a code for an LPC 2 1 3 8 / 2 1 4 8 on Keil

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!