If when a button is pressed the output for all other buttons is low, the output is set high.
Connect buttons up to IN0-IN7 and whichever one is pressed first will set the corresponding OUT0-OUT7 high.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | Button 0 | LED 0 / segment a | |
1 | Button 1 | LED 1 / segment b | |
2 | Button 2 | LED 2 / segment c | |
3 | Button 3 | LED 3 / segment d | |
4 | Button 4 | LED 4 / segment e | |
5 | Button 5 | LED 5 / segment f | |
6 | Button 6 | LED 6 / segment g | |
7 | Button 7 | LED 7 / dot |