void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}
input_a:IN
input_a:OUT
input_not_a:IN
input_not_a:OUT
input_b:IN
input_b:OUT
input_not_b:IN
input_not_b:OUT
input_c:IN
input_c:OUT
input_not_c:IN
input_not_c:OUT
gate_and_0:A
gate_and_0:B
gate_and_0:OUT
gate_and_1:A
gate_and_1:B
gate_and_1:OUT
gate_and_2:A
gate_and_2:B
gate_and_2:OUT
gate_and_3:A
gate_and_3:B
gate_and_3:OUT
gate_and_4:A
gate_and_4:B
gate_and_4:OUT
gate_and_5:A
gate_and_5:B
gate_and_5:OUT
gate_and_6:A
gate_and_6:B
gate_and_6:OUT
gate_and_7:A
gate_and_7:B
gate_and_7:OUT
gate_and_8:A
gate_and_8:B
gate_and_8:OUT
gate_and_9:A
gate_and_9:B
gate_and_9:OUT
gate_and_10:A
gate_and_10:B
gate_and_10:OUT
gate_and_11:A
gate_and_11:B
gate_and_11:OUT
gate_and_12:A
gate_and_12:B
gate_and_12:OUT
gate_and_13:A
gate_and_13:B
gate_and_13:OUT
gate_and_14:A
gate_and_14:B
gate_and_14:OUT
gate_or_0:A
gate_or_0:B
gate_or_0:OUT
gate_or_1:A
gate_or_1:B
gate_or_1:OUT
gate_or_2:A
gate_or_2:B
gate_or_2:OUT
gate_or_3:A
gate_or_3:B
gate_or_3:OUT
gate_or_4:A
gate_or_4:B
gate_or_4:OUT
gate_or_5:A
gate_or_5:B
gate_or_5:OUT
output_S:IN
output_S:OUT
output_C:IN
output_C:OUT
sw1:1a
sw1:2a
sw1:3a
sw1:4a
sw1:5a
sw1:6a
sw1:7a
sw1:8a
sw1:8b
sw1:7b
sw1:6b
sw1:5b
sw1:4b
sw1:3b
sw1:2b
sw1:1b
pwr1:VCC
r1:1
r1:2
pwr2:GND
r2:1
r2:2
r3:1
r3:2
led1:A
led1:C
pwr3:GND
led2:A
led2:C
input a
input b
The logic of this design has been created automatically using https://github.com/maehw/wokwi-lookup-table-generator with input https://github.com/maehw/wokwi-lookup-table-generator/blob/main/2bit_full_adder.logic.json
output S (sum)
output C (carry_out)
pwr4:GND
input c (carry_in)