#define gasPin A0
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(gasPin, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int sensorValue = analogRead(gasPin); // Read analog value
Serial.print("Gas Level: ");
Serial.print(sensorValue);
Serial.println("ppm");
delay(5000);
}