void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32-S3!");
pinMode(A2, INPUT);
// pinMode(8, INPUT);
// pinMode(A8, INPUT);
}
void loop() {
// int voltage = analogRead(A2);
// Serial.print("Analog: ");
// Serial.println(voltage);
Serial.println(analogRead(A2));
// int isgas = digitalRead(A8);
// Serial.print("Digital: ");
// if (LOW == isgas)
// {
// Serial.println("No Gas");
// }
// else{
// Serial.println("AHHHH Gas!");
// }
delay(1000); // this speeds up the simulation
}
// void setup() {
// // put your setup code here, to run once:
// Serial.begin(115200);
// Serial.println("Hello, ESP32-S3!");
// pinMode(A2, INPUT);
// }
// void loop() {
// // put your main code here, to run repeatedly:
// Serial.print("Analog: ");
// Serial.println(analogRead(A2));
// delay(1000); // this speeds up the simulation
// }Loading
esp32-s3-devkitc-1
esp32-s3-devkitc-1