   DDRB |= 0x21;
   PORTB |= 0x21;
 
-
   SeeedOled.setNormalDisplay();          // Set normal display
   SeeedOled.clearDisplay();               // clear the screen and set start position to top left corner
   SeeedOled.drawBitmap(LCAlogo, 1024);  // 1024 = 128 Pixels * 64 Pixels / 8

int pin = 8;
unsigned long duration;
unsigned long starttime;
unsigned long sampletime_ms = 1000;
unsigned long lowpulseoccupancy = 0;
float ratio = 0;
float concentration = 0;

    starttime = millis();
  }

  float h = dht.readHumidity(); //sensor pooling time of 2 seconds (both temp and humi)
  float t = dht.readTemperature();

  {
    Serial.print(millis()/1000);
    Serial.print(",");
    Serial.print(h,1);
    Serial.print(",");
    Serial.print(t,1);
    Serial.print(",");
    Serial.print(concentration / 500,3);
    Serial.print(",");
    Serial.print(vol,3);
    Serial.print(",");
    Serial.print(vol_Formol,3);
    Serial.println("");
  }
  {
    SeeedOled.clearDisplay();
    SeeedOled.setTextXY(1, 1);
    SeeedOled.putString("Particulates:");
    SeeedOled.setTextXY(2, 1);
    SeeedOled.putFloat((concentration / 500),3);
    SeeedOled.setTextXY(2, 8);
    SeeedOled.putString("ug/m^3");

    SeeedOled.setTextXY(3, 1);
    SeeedOled.putString("Hydrocarbons:");
    SeeedOled.setTextXY(4, 1);
    SeeedOled.putFloat(vol_Formol,3);
    SeeedOled.setTextXY(4, 8);
    SeeedOled.putString("mg/m^3");

    SeeedOled.setTextXY(5, 1);
    SeeedOled.putString("Volatile OC:");
    SeeedOled.setTextXY(6, 1); // location to display variable
    SeeedOled.putFloat(vol,3); // variable to display
    SeeedOled.setTextXY(6, 8);
    SeeedOled.putString("mg/L");

    delay(2000);

    SeeedOled.clearDisplay();
    SeeedOled.setTextXY(1, 1);
    SeeedOled.putString("Elapsed Time");
    SeeedOled.setTextXY(2, 1);
    SeeedOled.putFloat(millis()/60000,0);
    SeeedOled.setTextXY(2, 7);
    SeeedOled.putString("minutes");
    SeeedOled.setTextXY(3, 1);
    SeeedOled.putString("Humidity:");
    SeeedOled.setTextXY(4, 1);
    SeeedOled.putFloat(h,1);
    SeeedOled.setTextXY(4, 7);
    SeeedOled.putString("%");
    SeeedOled.setTextXY(5, 1);
    SeeedOled.putString("Temperature:");
    SeeedOled.setTextXY(6, 1);
    SeeedOled.putFloat(t,1);
    SeeedOled.setTextXY(6, 7);
    SeeedOled.putString("C");
  }
