void HP203B::Measure_Pressure()
{
    // Set Up the Configuration for the Pressure Sensor
    uint8_t command =   HP203B_CMD_CONVERT           |  // Convert the Sensor Output to the Digital Values
                        HP203B_CMD_CHNL_PRESTEMP;       // Sensor Pressure and Temperature Channel
    
    command |= hp_osr;       // OSR
    
    // Write the configuration to the Pressure Sensor
    writeRegister(hp_i2cAddress, command);
    
    // Wait for the configuration to complete
    delay(hp_conversionDelay);
    
    // Reads the pressure value
    uint32_t pressure = readRegister(hp_i2cAddress, HP203B_CMD_READ_P);
    hp_sensorData.P = pressure /100.0;
}

/**************************************************************************/
/*
        Reads 20-bits from the destination register
        Reads the results for Digital Altitude Value
*/
/**************************************************************************/
void HP203B::Measure_Altitude()
{
    // Set Up the Configuration for the Altitude Sensor
    uint8_t command =   HP203B_CMD_CONVERT           |  // Convert the Sensor Output to the Digital Values
                        HP203B_CMD_CHNL_PRESTEMP;       // Sensor Pressure and Temperature Channel
    
    command |= hp_osr;       // OSR
    
    // Write the configuration to the Altitude Sensor
    writeRegister(hp_i2cAddress, command);
    
    // Wait for the configuration to complete
    delay(hp_conversionDelay);
    
    // Reads the Altitude value
    uint32_t altitude = readRegister(hp_i2cAddress, HP203B_CMD_READ_A);
    hp_sensorData.A = altitude /100.0;
}

/**************************************************************************/
/*
        Reads 20-bits from the destination register
        Reads the results for Digital Temperature Value
*/
/**************************************************************************/
void HP203B::Measure_Temperature()
{
    // Set Up the Configuration for the Temperature Sensor
    uint8_t command =   HP203B_CMD_CONVERT           |  // Convert the Sensor Output to the Digital Values
                        HP203B_CMD_CHNL_PRESTEMP;       // Sensor Pressure and Temperature Channel
    
    command |= hp_osr;       // OSR
    
    // Write the configuration to the Temperature Sensor
    writeRegister(hp_i2cAddress, command);
    
    // Wait for the configuration to complete
    delay(hp_conversionDelay);
    
    // Reads the Temperature value
    uint32_t temperature = readRegister(hp_i2cAddress, HP203B_CMD_READ_T);
    hp_sensorData.T = temperature /100.0;
}