
two nands connected in a way to build a simple flip-flop
switch the 1 switch on and only then you can turn the light on and off with the second switch
7-segment display
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | S1 | L1 | not used14 |
| 1 | S2 | not used7 | not used15 |
| 2 | not used1 | not used8 | not used16 |
| 3 | not used2 | not used9 | not used17 |
| 4 | not used3 | not used10 | not used18 |
| 5 | not used4 | not used11 | not used19 |
| 6 | not used5 | not used12 | not used20 |
| 7 | not used6 | not used13 | not used21 |