The project implements an elevator interface on a digital clock based on user floor selection. The user selects a floor using the board switches, and the display increments/decrements floor numbers according to the elevator's state (moving up, moving down, or idle). Once the elevator reaches the selected floor, the display shows the user-selected floor number until a different floor is chosen or the switches are reset. When the switches are reset, the display decrements back to the default floor.
Use board switches 0-7 to select the desired floor.
A LED display is used to show elevator operation and the selected floor number.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | Switch 0 | Segment A | |
1 | Switch 1 | Segment B | |
2 | Switch 2 | Segment C | |
3 | Switch 3 | Segment D | |
4 | Switch 4 | Segment E | |
5 | Switch 5 | Segment F | |
6 | Switch 6 | Segment G | |
7 | Switch 7 | A dot that appears during the IDLE state |