function LPS25HB(_i2c, debugMode) {
  this.i2c = _i2c;
  this.debugMode = debugMode; // 0 or 1

  /*
   * Pressure sensor control register 1
   *
   * Read/write
   * Default value: 0x00
   * 7 PD: power down control. 0 - disable; 1 - enable
   * 6:4 ODR2, ODR1, ODR0: output data rate selection.
   *     ODR2  | ODR1  | ODR0  | Pressure output data-rate(Hz)  | Temperature output data-rate(Hz)
   *   ----------------------------------------------------------------------------------
   *      0    |  0    |  0    |         one shot               |         one shot
   *      0    |  0    |  1    |            1                   |            1
   *      0    |  1    |  0    |            7                   |            7
   *      0    |  1    |  1    |            12.5                |            12.5
   *      1    |  0    |  0    |            25                  |            25
   *      1    |  0    |  1    |         Reserved               |         Reserved
   *      1    |  1    |  0    |         Reserved               |         Reserved
   *      1    |  1    |  1    |         Reserved               |         Reserved
   *
   * 3 DIFF_EN: Interrupt circuit. 0 - disable; 1 - enable
   * 2 BDU: block data update. 0 - disable; 1 - enable
   * 1 RESET_AZ: reset AutoZero. 0 - disable; 1 - enable
   * 0 SIM: SPI Serial Interface Mode selection. 0 - SPI 4-wire; 1 - SPI 3-wire
   */
  
  this.w(LPS25HB_CTRL_REG1_ADDR, 0x90);
}
/**
 * Create a new LPS25HB sensor instance
 */
Create a new LPS25HB sensor instance
Create a new LPS25HB sensor instance
function LPS25HB(_i2c, debugMode) {
  this.i2c = _i2c;
  this.debugMode = debugMode; 
  this.w(LPS25HB_CTRL_REG1_ADDR, 0x90);
}
function LPS25HB ( _i2c , debugMode ) { this . i2c = _i2c ; this . debugMode = debugMode ; this . w ( LPS25HB_CTRL_REG1_ADDR , 0x90 ) ; }
Create a new LPS25HB sensor instance
Create a new LPS25HB sensor instance
// 0 or 1 /*
   * Pressure sensor control register 1
   *
   * Read/write
   * Default value: 0x00
   * 7 PD: power down control. 0 - disable; 1 - enable
   * 6:4 ODR2, ODR1, ODR0: output data rate selection.
   *     ODR2  | ODR1  | ODR0  | Pressure output data-rate(Hz)  | Temperature output data-rate(Hz)
   *   ----------------------------------------------------------------------------------
   *      0    |  0    |  0    |         one shot               |         one shot
   *      0    |  0    |  1    |            1                   |            1
   *      0    |  1    |  0    |            7                   |            7
   *      0    |  1    |  1    |            12.5                |            12.5
   *      1    |  0    |  0    |            25                  |            25
   *      1    |  0    |  1    |         Reserved               |         Reserved
   *      1    |  1    |  0    |         Reserved               |         Reserved
   *      1    |  1    |  1    |         Reserved               |         Reserved
   *
   * 3 DIFF_EN: Interrupt circuit. 0 - disable; 1 - enable
   * 2 BDU: block data update. 0 - disable; 1 - enable
   * 1 RESET_AZ: reset AutoZero. 0 - disable; 1 - enable
   * 0 SIM: SPI Serial Interface Mode selection. 0 - SPI 4-wire; 1 - SPI 3-wire
   */