  #define ledSTUP 13              // SETUP LED PIN
 
  // BLUETOOTH
- #define pow 7                   // BLUETOOTH POWER SUPPLY PIN
- #define BT_tx 9                 // BLUETOOTH SOFTWARE COM PINOUT
- #define BT_rx 10
+ #define BT_PWR 7                   // BLUETOOTH POWER SUPPLY PIN
+ #define BT_tx 8                 // BLUETOOTH SOFTWARE COM PINOUT
+ #define BT_rx 9
  #define DevNo 0001              // DEFINE THE DEVICE NUMBER
  #define BLUETOOTH_SPEED 57600   // BLUETOOTH DEVICE BAUDRATE
  

  // PIN MODES
  pinMode(ledSTUP, OUTPUT);      
  pinMode(trig,OUTPUT);
  
  // INTERRUPT PIN MODE
  pinMode(wakePin, INPUT);     

  ind++;                                     // POINTER TO THE NEXT MEASURE
  mea++;                                     // MEASURE COUNT   
  wdt_reset();                               // RESET THE WDT 
  
  digitalWrite(SH_PWR,LOW);
  digitalWrite(TH_PWR,LOW);
  digitalWrite(LS_PWR,LOW);
  

 //*****************************************************************************
 //***************************************************************************** 
