Epic
The most basic of logic circuits is simply a wire carrying a charge. Try the interactive example below!*
* Inputs are always blue and outputs are always red. Click on inputs to toggle between 1 and 0
A NOT gate reverses the signal going into it
An AND gate takes two inputs, yet only returns true if both are 1
An OR gate also takes two inputs, but returns true if at least one input is true
An XOR gate is very similar to the OR gate, but will only return true if exactly one input is true
A Half Adder is a relatively simple combination of components, consisting of an XOR gate and an AND gate, allowing the addition of two bits (symbolised by thee imputs) and outputting the result of the calculation (the top output) and a carry bit (the bottom output)