Skip to content

Commit

Permalink
Merge pull request #57 from dirkmueller/init_spi3w
Browse files Browse the repository at this point in the history
initialize spi3w_en
  • Loading branch information
caternuson authored Jul 30, 2021
2 parents a5fcef0 + 0c198dd commit 0c4398f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Adafruit_BME280.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ void Adafruit_BME280::setSampling(sensor_mode mode,
_humReg.osrs_h = humSampling;
_configReg.filter = filter;
_configReg.t_sb = duration;
_configReg.spi3w_en = 0;

// making sure sensor is in sleep mode before setting configuration
// as it otherwise may be ignored
Expand Down

0 comments on commit 0c4398f

Please sign in to comment.