 }
 
 int cnt = 0;
-int board = 0;
 
 const int aInPin = A0;
 int analogPin = 3;


/* YourDuino.com Example: BlueTooth HC-05 Setup
 - WHAT IT DOES: 
   - Sets "Key" pin on HC-05 HIGH to enable command mode
   - THEN applies Vcc from 2 Arduino pins to start command mode
   - SHOULD see the HC-05 LED Blink SLOWLY: 2 seconds ON/OFF 
 
 Sends, Receives AT commands
   For Setup of HC-05 type BlueTooth Module
   NOTE: Set Serial Monitor to 'Both NL & CR' and '9600 Baud' at bottom right   
 - SEE the comments after "//" on each line below
 - CONNECTIONS:
   - GND
   - Pin 2 to HC-05 TXD
   - Pin 3 to HC-05 RXD
   - Pin 4 to HC-05 KEY
   - Pin 5+6 to HC-05 VCC for power control
 - V1.02 05/02/2015
   Questions: terry@yourduino.com */

/*-----( 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
#define HC_05_SETUPKEY        4

  char status;

  // abirvalg!!!
  if (board == 0) {
    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; }

    bt_echo_send("(")
    fbt_echo_send(cnt); 
    fbt_echo_send(v0); 
    fbt_echo_send(-1);
    fbt_echo_send(-1);
    fbt_echo_send(v1); 
    fbt_echo_send(d8);
    fbt_echo_send(d10);
    fbt_echo_send(T);
    fbt_echo_send(P);
    bt_echo_send(")")

    bt_echo_send("\r\n")
        
    delay(100);
  }
  cnt++;
