10. Logic Gate Implementation

Connect 2 switches and 4 LEDs to the microcontroller’s GPIO pins. Implement logic Gates using switches as input and LEDs as outputs. 4 LEDs will show logic gates output as AND, OR, NAND, and NOR.

Example using Arduino UNO:

Submit Your Solution

Note: Once submitted, your solution goes public, helping others learn from your approach!