๐ Logic gates
Y = 0
AND gate
Y = A ยท B
Output is 1 only when A AND B are both 1.
| A | B | Y |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
- Washing machine starts only if the door is shut AND Start is pressed
- Car engine starts only with the key turned AND foot on the brake (push-start cars)
- Bank locker that needs two keys at once
- Microwave runs only if the door is closed AND the timer is set