Download this file
#ifndef CO2_METER_H
#define CO2_METER_H

#if ARDUINO>=100
#include  // Arduino 1.0
#else
#include  // Arduino 0022
#endif

#define NB_ELEMENTS(a) sizeof(a) / sizeof(a[0])

#define GREEN_THRESHOLD 800
#define RED_THRESHOLD 1300
#define RED_LED_PIN 6
#define GREEN_LED_PIN 5
#define BUTTON_PIN 17

#define REFERENCE_CO2_LEVEL 416

#endif