Closed hpsaturn closed 2 years ago
I'm going to close this issue as I think it is probably stale?
I suspect your issue is that you are attempting to use Wire / Wire1 without having begun them first? Please make sure you are calling Wire.begin();
and Wire1.begin();
before calling scd30.begin();
.
Please re-open if you need more help with this.
Best wishes, Paul
Summary
With two libraries of SparkFun, SCD30 and GCJA5 we have the same issue with the last versions of Espressif32 and Arduino Framework. The issue is the same in the same implementation:
SparkFun_SCD30_Arduino_Library.cpp:398
https://github.com/sparkfun/SparkFun_SCD30_Arduino_Library/blob/main/src/SparkFun_SCD30_Arduino_Library.cpp#L398
(also for the library GCJA5)
In my project the both libraries compiling ok but I have a execute crash, and the backtrace show the next issue (similiar in the both libraries). Other libraries with i2c implementation works fine.
The high level implementation is:
Fails in the line:
Environment
I will try to replicate the same issue with a basic example. But like I mentioned, the other i2c libraries works fine.