Changes between Version 17 and Version 18 of BME280


Ignore:
Timestamp:
Apr 6, 2015 9:58:58 AM (5 years ago)
Author:
soumura
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BME280

    v17 v18  
    185185void readTrim()
    186186{
    187     uint8_t data[33],i=0;
     187    uint8_t data[32],i=0;
    188188    Wire.beginTransmission(BME280_ADDRESS);
    189189    Wire.write(0x88);
     
    218218    dig_H3 = data[27];
    219219    dig_H4 = (data[28]<< 4) | (0x0F & data[29]);
    220     dig_H5 = (data[31] << 4) | ((data[30] >> 4) & 0x0F);
    221     dig_H6 = data[32];   
     220    dig_H5 = (data[30] << 4) | ((data[29] >> 4) & 0x0F);
     221    dig_H6 = data[31];   
    222222}
    223223void writeReg(uint8_t reg_address, uint8_t data)