Closed baqwas closed 3 months ago
I didn't even realize that the R4 was available. Since the underlying hardware is very different from the Atmel processors, the library interface needs to be different as well. I've ordered one for myself and will dig out my BME680 and see about getting it to function correctly with this new hardware.
Thanks! Appreciate your efforts in keeping the library current. I love the BME680 ever since I discovered its existence a few years ago.
Regards.
P.S. I too ignored the R4 until a month ago when I needed a low-cost but contemporary solution for multiple analog pins.
I just wanted to add to this. I've gotten the R4 and it is a great little device.
But I wrote the BME680 library for the Atmel 8-bit architecture specifically to use a small footprint and mainly to avoid using floating-point arithmetic. The R4 chipset, on the other, has much more memory and has hardware floating-point; so, using the original Bosch library makes much more sense than adapting my library - I don't see any advantage in doing this.
Understand your viewpoint, @SV-Zanshin. Appreciate your feedback. :saluting_face: Loved your library for my simplistic needs. The Bosch Sensortec library is beyond my job grade. That is why I had turned to your library in the first place. No worries, just an extra incentive to learn something new now. :wink:
Warmest regards.
Hello!
I tried to use your BME680 library for the UNO R4 Qwiic interface to a Sparkfun BME680. I failed miserably!
Your library works fine on the standard I2C interface on the UNO R4 with a BME680. I didn't have to change any statement for your example I2CDemo.ino sketch.
However, I need your guidance on making the library work with UNO R4 Qwiic interface, please. At https://docs.arduino.cc/tutorials/uno-r4-wifi/qwiic/, Arduino suggests the following statements in the setup() section:
In my naivety:
Verify/Compile of the modified sketch produced the following error message:
Obviously, my knowledge of C/C++ leaves a lot to be desired. When I inspected the BME680.h file, I did not see any code for some of the public functions, although the declarations were present.
What changes do I need to make your BME680.h file to leverage Wire1() functions in my sketch to read data from a BME680 sensor on the UNO R4 Qwiic interface? Thanks.
Regards.