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

}

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

}
output S (sum)
output C (carry)
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_half_adder.logic.json