
AND, OR and XOR gates are connected, each state has an LED informing the data status.
A puzzle to work out how to set the switches to get the last led to light up.
By switching different input, the LEDs will switch on consecutively, and try to get the last LED light up.
| 00000000 | output AND | output OR | output AND 2 | output XOR | | 00000001 | output AND | output OR | output AND 2 | output XOR | | 00000010 | output AND | output OR | output AND 2 | output XOR | | 00000011 | output AND | output OR | output AND 2 | output XOR | | 00000100 | output AND | output OR | output AND 2 | output XOR | | 00000101 | output AND | output OR | output AND 2 | output XOR | | 00000110 | output AND | output OR | output AND 2 | output XOR | | 00000111 | output AND | output OR | output AND 2 | output XOR |
LED display
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | input 0 | output 0 | |
| 1 | input 1 | ||
| 2 | input 2 | ||
| 3 | input 3 | ||
| 4 | input 4 | ||
| 5 | input 5 | ||
| 6 | input 6 | ||
| 7 | input 7 |