Question: Write an ARM assembly language program that will interface to 3 LEDs and 2 switches. The program should meet the following criteria: When switch A
Write an ARM assembly language program that will interface to 3 LEDs and 2 switches. The program should meet the following criteria: When switch A is pressed, all LEDs will light. Each LED must exhibit normal brightness: not too bright and not too dim. This means you should use your knowledge from Lab 1 when deciding how to interface your hardware. When switch B is pressed and switch A is not pressed, the LEDs will cycle in a knight rider pattern where only one LED is lit at a time and the LED appears to bounce from side to side. The speed of bounce must be slow enough to see. When both switches are pressed, all LEDs will light. Same as first item. Basically switch A has priority. When no switch is pressed, all LEDs will be off
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
