Kreuzschaltung mit 4 Schalter. KV-Diagram in Code umgesetzt.

Dependencies:   mbed DigitalIn

Cross connection with 4 switches

Boolean operation table and Karnaugh-Veitch-Symmetrie-Diagramm

https://os.mbed.com/media/uploads/Berndii__/boolean_operation_table.png

Output =(A۸B۸¬C۸D)۷(¬A۸B۸C۸D)۷(A۸B۸C۸¬D)۷(¬A۸B۸¬C۸¬D)۷(A۸¬B۸¬C۸¬D)۷(¬A۸¬B۸C۸¬D)۷ (A۸¬B۸C۸D)۷(¬A۸¬B۸¬C۸D)

Wiring

I know it's an Arduino but for illustration enouth :P

https://os.mbed.com/media/uploads/Berndii__/arduino_kreuzschaltung_2.png