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

void loop() {
  // put your main code here, to run repeatedly:
  static int counter = 0; // static keyword retains the value between iterations

  // print the counter value:
  Serial.print("Counter: ");
  Serial.println(counter);

  // increment the counter:
  counter++;

  // add a delay to slow down the output in the serial monitor:
  delay(1000);
}