AirQuality code Arduino

Hello, could I ask you to indicate to the Arduino code for AirQuality sensor Grove? He who is on the wiki does not compile. Shows errors. Regards budding electronics;-) Maciej

Same problem here. When trying to compile the code from the Wiki, Arduino Compiler show these errors:

no matching function for call to ‘AirQuality::init(int)’
AirQuality_Sensor.ino In function ‘void setup()’:
AirQuality_Sensor:13: error: no matching function for call to ‘AirQuality::init(int)’
/path/to/mycomputer/Air_Quality_Sensor/AirQuality.h:36:
note: candidates are: void AirQuality::init(int, int)

Any ideas would be greatly appreciated.

Thanks.

Hi again,

It seems the code was recently updated and now it compiles correctly. You can download it from here:

seeedstudio.com/wiki/File:Ai … Sensor.zip

Cheers!