Introduction - If you have any usage issues, please Google them yourself
Encoder4_2, with a priority encoder to complete this experiment, but the 4-2 priority encoder to toggle switch SW [3 .. 0] as the input source (input switch is high on the dial), which SW [3 ] takes precedence over the SW [2] priority, SW [2] takes precedence over the SW [1] priority, and so on. The results will be encoded in the form of LED lights display. For example, when the SW [2] on the dial and the SW [3] When not on call, LED [1 .. 0] to display the result will be " 10."