Question: MSP-432 microcontroller. C language. Use the two switches to simulate a Password-based security system, such that the door will open when the switch in P1.1
MSP-432 microcontroller. C language.
Use the two switches to simulate a Password-based security system, such that the "door" will open when the switch in P1.1 is pressed 3 times in sequence, and then, the switch in P1.4 is pressed 5 times in sequence. Use the RED and GREEN LEDs to denote locked and unlocked states. Notice that, the door will lock or remain locked if the switch in P1.4 is pressed first, if P1.1 is pressed more than 3 times, of if P1.1 is pressed 2 times or less, and then the switch in P1.4 is pressed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
