harmful.csv
and add this header:
timestamp, CO2avg, C2H5OHavg, H2avg, NH3avg, CO2min, C2H5OHmin, H2min, NH3min, CO2max, C2H5OHmax, H2max, NH3max
Repeat the procedure for all the gases to be detected.
#define CALIBRATION_TIME 3
If your OLED screen has a different I2C address, use #define SCREEN_ADDRESS 0x3C
If you want to use another pin for the Buzzer # define pinBuzzer 2
If you want to use more readings for min, max and average int measuresNumber=4;
If you want to change the measure timeframe int measuresTimeFrame=1500; // 1.5 seconds
If you want to change the percentage to identify the gases float scoreLimit=0.8;