Click the blue bottoms to go forward and backwards through the logic gates. Click the Red/Green buttons to change the value of A and B. If you are confused please look in the notes and credits for how to use the logic gates.
Have fun experimenting with the logic gates but if you want a guide to how each one works keep reading. Note:0=OFF, 1=ON OR Either input has to be on for the output to be on. A B Output 0 0 0 1 0 1 0 1 1 1 1 1 AND Both inputs have to be on for the output to be on. A B Output 0 0 0 1 0 0 0 1 0 1 1 1 NOT-Note: Not only uses one input The input has to be off for the output to be on. A Output 0 1 1 0 NOR- NOT OR Both inputs have to off for the output to be on. A B Output 0 0 1 1 0 0 0 1 0 1 1 0 NAND-NOT AND Both if either input or both is off then the output will be on. A B Output 0 0 1 1 0 1 0 1 1 1 1 0 XOR-Exclusive OR Only one input can/has to be on for it to be on. A B Output 0 0 0 1 0 1 0 1 1 1 1 0 XNOR- Exclusive NOT OR Both inputs either have to be on or off for the output to be on. A B Output 0 0 1 1 0 0 0 1 0 1 1 1 That concludes the guide for how logic gates, have fun experimenting. Look into the code if you want to know how I made the logic gates that are not OR, AND or NOT gates. If you have any further questions please ask in the comments on this project or on my profile.