mcci-catena / Adafruit_BME280_Library

Arduino Library for BME280 sensors
1 stars 1 forks source link

Library delays 300 ms when intializing chip; should only delay 3 #3

Closed terrillmoore closed 7 years ago

terrillmoore commented 7 years ago

For some reason when I extended the init() routine(), I added a delay(300) after a comment "delay 3 ms". The BME280 reference software uses a delay of 3 ms after a soft reset, and that's what we should use. (I suspect I was trying to fix #1, and playing with delays... and committed test code.)

terrillmoore commented 7 years ago

Fixed by https://github.com/mcci-catena/Adafruit_BME280_Library/commit/6384dc95c4b97c8f49dc78bc6600b6d77893183a