// https://randomnerdtutorials.com/esp32-adc-analog-read-arduino-ide/
// https://circuits4you.com/wp-content/uploads/2018/12/ESP32-Pinout.jpg
// https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html

const int LED1 = 26;
const int LED2 = 27;

void setup(void) {

  Serial.begin(115200);
  
  pinMode(LED1, OUTPUT);
  pinMode(LED2, OUTPUT);

  digitalWrite(LED1, LOW);
  digitalWrite(LED2, LOW);

}

void loop(void) {

  Serial.print("A15: ");
  Serial.println(analogRead(15));
  digitalWrite(LED1, HIGH);
  digitalWrite(LED2, LOW);
  
  delay(2000);

  digitalWrite(LED1, LOW);
  digitalWrite(LED2, HIGH);

  delay(2000);
}