adafruit / Adafruit_BME280_Library

Arduino Library for BME280 sensors
Other
341 stars 306 forks source link

Added 'sensorSleep()' function to reduce BME280 power consumption by … #53

Closed G6EJD closed 5 years ago

G6EJD commented 5 years ago

I added a BME280 sleep function 'sensorSleep()' which reduces power consumption by a factor of 10, in my setup power consumption dropped from 600uA to 50uA, so essential for battery powered equipment.

andrei-ivanov commented 5 years ago

You've probably changed the line ending and now the whole contents look as changed, and that's not a good idea.

G6EJD commented 5 years ago

I added the sleep function at the end, that’s why it looks like it’s all changed

G6EJD commented 5 years ago

Will only pass when sensorSleep has been added to the master I presume.