int A=13;
int B=12;


void setup() {
  // put your setup code here, to run once:
pinMode(A, OUTPUT);
pinMode(B, OUTPUT);
digitalWrite(A, LOW);
digitalWrite(B, LOW);
Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
Serial.println("Simulasi (B+A'B')' = AB'");
Serial.println("Input ada A da B, Input sama output juga sama");
delay(4000);

//Input A B = 0 0
Serial.println("Input A=0 dan B=0"); 
digitalWrite(A, LOW);
digitalWrite(B, LOW);
delay(1000);

//Input A B = 0 1
Serial.println("Input A=0 dan B=1"); 
digitalWrite(A, LOW);
digitalWrite(B, HIGH);
delay(2000);

//Input A B = 1 0
Serial.println("Input A=1 dan B=0"); 
digitalWrite(A, HIGH);
digitalWrite(B, LOW);
delay(2000);

//Input A B = 1 1
Serial.println("Input A=1 dan B=1"); 
digitalWrite(A, HIGH);
digitalWrite(B, HIGH);
delay(2000);
}