Question: ( 2 4 points ) Design a simple elevator light controller: each floor has an up and a down button to call the elevator and
points Design a simple elevator light controller: each floor has an up and a down button to call the
elevator and an up and a down light to indicate that the elevator is coming in that direction. The light
should turn on when the corresponding button is pressed, then turn off after the elevator passes the floor
in the requested direction.
For simplicity, there is an up button on the top floor and a down button on the bottom floor; neither will be
pressed. Floors are numbered bottom floor to top floor
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
