     {
         ratio = lowpulseoccupancy/(sampletime_ms*10.0);  // Integer percentage 0=>100
         concentration = 1.1*pow(ratio,3)-3.8*pow(ratio,2)+520*ratio+0.62; // using spec sheet curve
-        //Serial.print(lowpulseoccupancy);
-        // Serial.print(",");
-        Serial.print(ratio);
-        Serial.print(",");
-        //Serial.println(concentration);
         lowpulseoccupancy = 0;
         starttime = millis();
      

GPRS gprs(7, 8, 9600,"cmnet");
char buffer[128];
//Debug in PC
bool is_debug = true;

void setup(){

    Serial.begin(9600);
    //DSM init
    pinMode(3,INPUT);
    starttime = millis();
    if(!is_debug){
        gprs.init();
        // attempt DHCP

        //gprs.close();
        //gprs.disconnect();
    }else{
        //Serial.print(lowpulseoccupancy);
        // Serial.print(",");
        Serial.print(ratio);
        Serial.print(",");
        //Serial.println(concentration);
        Serial.print((float)DHT11.temperature, 2);
        Serial.print(",");
        Serial.println((float)DHT11.humidity, 2);

        lcd.clear();
        //lcd.backlight();
        lcd.print(ratio);
        lcd.setCursor(8,0);
        lcd.print((float)DHT11.temperature, 2);
        lcd.setCursor(0,1);
        lcd.print((float)DHT11.humidity, 2);
    }
    
    }
