Hello, need help with my elevator project. basically, I have 4 inputs,
A(4th floor),B(3rd),C(2nd),D(1st). These are the switches inside the elevator. what i need to do is to simulate a person operating inside an elevator.
States: Output:
00 -1st floor "0"
01 -2nd Floor "1"
10 -3rd floor "2"
11 -4th floor "3"
I already could show counting from 0->1, 0->1->2 and 0->1->2->3.
What I need to know if how I could save the next input to store it in the
7 segment display.
For example, Im in 1st floor, i decided to press second floor therefore output shows 2nd floor and holds the value.
A(4th floor),B(3rd),C(2nd),D(1st). These are the switches inside the elevator. what i need to do is to simulate a person operating inside an elevator.
States: Output:
00 -1st floor "0"
01 -2nd Floor "1"
10 -3rd floor "2"
11 -4th floor "3"
I already could show counting from 0->1, 0->1->2 and 0->1->2->3.
What I need to know if how I could save the next input to store it in the
7 segment display.
For example, Im in 1st floor, i decided to press second floor therefore output shows 2nd floor and holds the value.