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

}

void loop() {
  // put your mai
   int voltage2 = (int)analogRead(6);
//    float voltage = (float)analogRead(39)/4096*3.3*(28205/27000);
//    float voltage = (float)analogRead(39)/4096*3.3;
    Serial.print(analogRead(6));
    Serial.println("v");
//    Serial.print(voltage,1);
//    Serial.println("v");
    delay(2000);
 // this speeds up the simulation
}
Loading
esp32-s3-devkitc-1