void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  Serial.println("Hello, ESP32!");
  pinMode(27, INPUT_PULLUP);
  pinMode(14, INPUT_PULLUP);
}

void loop() {
  // put your main code here, to run repeatedly:
  delay(10); // this speeds up the simulation
  Serial.printf("27:%d,14:%d\n", digitalRead(27) == HIGH, digitalRead(14) == HIGH);
}
Loading
cd74hc4067