
Explore AND, OR, and NOT using 1 and 0.
By setting the switches to 0 or 1, the result will be displayed on the 4 LEDs.
2 and, 2 or, 1 Xor, 1 sw, resistencia, 4 leds, input, output
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | sw1 | bargraph1:A1 | |
| 1 | sw2 | bargraph1:A2 | |
| 2 | sw3 | bargraph1:A3 | |
| 3 | sw4 | bargraph1:A4 | |
| 4 | sw5 | ||
| 5 | sw6 | ||
| 6 | sw7 | ||
| 7 | sw8 |