anchor.diff:  -define(SENSOR_DATA_LEN, 8).
   
   
  +% The active measurement time depends on the selected values for 
  +% humidity, temperature and pressure oversampling. 
  +% See the BME280 Data sheet for formulas to calculate typical and maximum
  + 
  +-define(MAX_MEASUREMENT_TIME_MS, 100).
  +
  +
   %
   % Configure the sensor
   %
  
positive.code:       {read_mode, {normal}},  % Valid values: normal, forced
        {filter_coeff, {0}},    % Valid values: 0,2,4,6,8,16
        {standby_time, {500}},  % Valid values: 0.5, 62.5, 125, 250, 500, 1000, 10, 20 Msecs 
        {temp_mode, {1}},       % Valid values: 0, (disabled), 1,2,4,8,16 (oversampling rate) 
        {press_mode, {1}},      % Valid values: 0, (disabled), 1,2,4,8,16 (oversampling rate) 
        {humid_mode, {1}},      % Valid values: 0, (disabled), 1,2,4,8,16 (oversampling rate)
        {deg_f, {true}},
        {temp_offset, {0.0}},
        {press_offset, {0.0}},
        {humid_offset, {0.0}} 
  
negative.code:           case get_read_mode(Config) of
              {ok, ReadMode} ->
  
                <<SensorMode>> = <<TempMode:3, PressMode:3, ReadMode:2>>,
                case i2c:write(I2cRef, <<?CTRL_MEAS_REG, SensorMode>>) of
                  ok -> {ok, SensorMode};
  
  