
-----------------------------------------------------------
Legend:
Green arrow - smart inserter
Blue arrow - fast inserter
P - Pole
WC - Wooden Chest
SC - Smart Chest
R - red circuit (R=1 mean 1 item in red circuit)
G - green circuit
-----------------------------------------------------------
A B | AND
0 0 | 0
0 1 | 0
1 0 | 0
1 1 | 1

A B | OR
0 0 | 0
0 1 | 1
1 0 | 1
1 1 | 1

A B | XOR
0 0 | 0
0 1 | 1
1 0 | 1
1 1 | 0
It's compact design, and output is TRUE when 2 items are in logistic system (1 item in each smart chest).
To set that 1 item is true, you can add buffer that will more item into Smart chest when Oputput =2 and remove it when Output < 2

A | NOT
0 | 1
1 | 0

A B | NAND
0 0 | 1
0 1 | 1
1 0 | 1
1 1 | 0

A B | NOR
0 0 | 1
0 1 | 0
1 0 | 0
1 1 | 0

A B | XNOR
0 0 | 1
0 1 | 0
1 0 | 0
1 1 | 1
It's compact design, and output is TRUE when 2 items are in logistic system (1 item in each smart chest).
To set that 1 item is true, you can add buffer that will more item into Smart chest when Oputput =2 and remove it when Output < 2

Ingame gated

T Flip-Flop
http://i.gyazo.com/669f2213093b645d5852359ff060b71b.mp4
On left you can see timer. Each time when item reach SmartChest it change logic state on output (lamps are turning on and off). It can be used as memory cell in more complex designs.
First design of Seven-segment display. Wires connections are ugly but after some tests l will make them prettier.
