• @[email protected]
    link
    fedilink
    English
    59
    edit-2
    6 months ago

    One Switch can have two states. Switch on is a 1 and switch off is a 0. Group 8 switches together and you get a byte. Miniaturize the switches and put 8 trillion of them into the size of a fingernail, and ta-da you have a 1TB micro SD card.

    Wire up two switches so that a light bulb only will go on when both switches are on (1). This wiring creates an AND gate. Adjusting the wiring so that if either of the switches are on, the light turns on. This wiring is an OR gate.

    Channing the output of the lightbulb and treating it like a new switch allows you to combine enough AND and OR gates to make other logic blocks, NOT, NAND, XOR, etc.

    Combine enough logic blocks and you can wire up a circuit so that you can add the value of two switches together, and now you can start to perform addition.

    This all naturally evolves to the point where you can play Skyrim with the most degenerate porn mods.