 
 /*-----( Import needed libraries )-----*/
 #include <SoftwareSerial.h>  
+#include <SFE_BMP180.h>
+
 /*-----( Declare Constants and Pin Numbers )-----*/
 #define HC_05_TXD_ARDUINO_RXD 2
 #define HC_05_RXD_ARDUINO_TXD 3

  BTSerial.begin(38400);  // HC-05 default speed in AT command mode

  bt->setState(data);
/*
  msg("Pwr on");
  delay(2000);

  d10 = digitalRead(10);
  d8 = digitalRead(8);

  char status;

  // abirvalg!!!
  
  status = pressure.startTemperature();
  if (status != 0)  {
    delay(status);
    status = pressure.getTemperature(T);
    Serial.println(T);
    if (status != 0) {
      status = pressure.startPressure(3);
      if (status != 0) {
        delay(status);

        status = pressure.getPressure(P,T);
        if (status != 0) {

        } else { T = -1.0; P = -1.0; }
      } else { T = -1.0; P = -1.0; }
    } else { T = -1.0; P = -1.0; }
  } else { T = -1.0; P = -1.0; }


  if (board == 0) {
    char out[80];
    //sprintf(out, "seqid %d;%d;;;\r\n", cnt++, val); // 0.7501
    sprintf(out, "seqid=%d;A0=%d;A1=%d;D8=%d;D10=%d;T=%d;P=%d\r\n", cnt, v0, v1, d8, d10, (int)T, (int)(P*0.7501));
    Serial.print(out); 
    BTSerial.write(out);
    delay(100);
  }
