If I run the above code, I get the wrong value.
This is what I wrote.
So I tried to run it with your newly provided code.
However, the code below shows ‘MySensor :: MySensor (int, int)’.
empierre / arduino / blob / master / AirQuality-Multiple_Gas_Sensor1_4.ino