-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32 boot loop when calling bme.begin() #130
Comments
Solution: BME280.cpp InitializeFilter() should be a void function instead of expecting to return bool. Downloaded the library from platformIO library, I guess it is not the latest update. |
The same problem also affects ESP8266 with board versions 3.0.x (with 2.7.4, bme.begin() does not crash). Changing these functions to void type seems to fix the problem. |
The issue was fixed in branch
Solution: Publish an updated version on platform.io. Workaround: specify the git URL on
|
First off, did you read the manual? Did it answer your question? Yes, No
Second, did you look at the examples? Did they answer your question? Yes, No
No, alright, please describe the problem below.
I am using ESP32 Dev Kit. All wirings are confirmed.
When calling bme.begin(), ESP32 goes into panic mode and keep on rebooting.
Expected behavior
Should not reboot
Actual behavior
Goes into boot loop
Steps to reporduce the behavior
call bme.begin() in the setup() function.
The text was updated successfully, but these errors were encountered: