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 | none |
1 | Button 1 | LED 1 / segment b | none |
2 | Button 2 | LED 2 / segment c | none |
3 | Button 3 | LED 3 / segment d | none |
4 | Button 4 | LED 4 / segment e | none |
5 | Button 5 | LED 5 / segment f | none |
6 | Button 6 | LED 6 / segment g | none |
7 | Button 7 | LED 7 / dot | none |