test code for infrared CO2 sensor module